Porta de matar Windows
netstat -ano | findstr :3001
taskkill /PID <yourid> /F
TindyC
netstat -ano | findstr :3001
taskkill /PID <yourid> /F
npx kill-port 8080
netstat -ano | findstr :yourPortNumber
tskill typeyourPIDhere
lsof -ti tcp:2525 | xargs kill
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/