Answers for "how to kill port in window"

34

kill port

sudo kill -9 `sudo lsof -t -i:9001`
Posted by: Guest on May-03-2020
2

kill a port windows

netstat -ano | findstr :<PORT>
taskkill //PID <PID> //F
OR
taskkill /PID <PID> /F
Posted by: Guest on August-30-2021
-1

kill process running on port 80

# shows information on Processes running on port 80 with PIDs
$: sudo lsof -i tcp:80

$: sudo lsof -t -i tcp:80 | sudo xargs kill
Posted by: Guest on January-15-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language