Answers for "kill all ports cmd"

20

windows kill port

netstat -ano | findstr :3001
taskkill /PID <yourid> /F
Posted by: Guest on October-06-2020
1

kill all process at port

lsof -ti tcp:2525 | xargs kill
Posted by: Guest on November-06-2020
0

kill all ports

kill PID
kill -s signalName PID
kill -signalName PID
kill -signalNumber PID

# get PID > run this command
sudo ss -tulpn | grep LISTEN

# Source
https://www.cyberciti.biz/faq/unix-kill-command-examples/
Posted by: Guest on June-05-2021

Browse Popular Code Answers by Language