Answers for "kill listening port"

34

kill port

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

kill port

sudo kill -9 $(lsof -i :3000 -t)
Posted by: Guest on November-02-2021
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 "Shell/Bash"

Browse Popular Code Answers by Language