Answers for "how to kill server running on port linux"

8

kill port

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

kill port linux

kill -9 $(lsof -t -i:8080)
Posted by: Guest on December-29-2020
2

kill a port

kill $(lsof -ti:3000)
Posted by: Guest on January-16-2020
2

kill port

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

kill process linux using port

sudo kill -9 $(sudo lsof -t -i:8000)
Posted by: Guest on April-02-2021
-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 "how to kill server running on port linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language