Answers for "kill all running on port"

5

kill process on port windows

netstat -ano | findstr "PORT_NUMBER"

taskkill /PID PORT_NUMBER /f
Posted by: Guest on June-09-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 "kill all running on port"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language