Answers for "check port and kill it"

34

kill port

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

kill port

:8080.
C:\Users\psmith>netstat -ano|findstr "PID :8080"
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:8081 0.0.0.0:0 LISTENING 18264

taskkill /pid 18264 /f
Posted by: Guest on May-27-2020

Code answers related to "check port and kill it"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language