Answers for "stop port in use linux"

8

kill port

kill -9 $(sudo lsof -t -i:8080)
Posted by: Guest on May-23-2020
-1

kill process on port

#list process running on specified port (here 80, change to your port)
sudo lsof -i:80

#kill process on specified port (here 80, change to your port)
sudo kill $(sudo lsof -t -i:80)
Posted by: Guest on December-28-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language