uccidi porta ubuntu
sudo kill -9 `sudo lsof -t -i:9001`
porta di uccisione di Windows
netstat -ano | findstr :3001
taskkill /PID <yourid> /F
ferma il server localhost
netstat -ano | findstr :yourPortNumber
tskill typeyourPIDhere
chiudi tutte le connessioni localhost
netstat -ano | findstr :yourPortNumber
taskkill /PID typeyourPIDhere /F
uccidere host locale bash
npx kill-port 8080
uccidi tutte le porte
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/