Answers for "kill a process by port number"

34

kill port

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

windows kill process on port

netstat -ano | findstr :<PORT>
taskkill /PID <PID> /F
Posted by: Guest on January-14-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language