lsof -i -P | grep -i "listen"
lsof -i :PORT_NUMBER
sudo lsof -PiTCP -sTCP:LISTEN
$ npx kill-port 3000 8080 8081 Process on port 3000 killed Process on port 8080 killed Process on port 8081 killed
sudo lsof -i -n -P | grep TCP