Answers for "how to kill all ports"

1

kill all process at port

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

kill port

netstat -aon | findstr 8080
taskkill /f /pid 77777
Posted by: Guest on January-27-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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language