Erro Mac Essa porta já está em uso
sudo lsof -t -i tcp:8000 | xargs kill -9
ABhakuni
sudo lsof -t -i tcp:8000 | xargs kill -9
netstat -ano | findstr 8080
netstat -ona | findstr :8080 | findstr LISTENING
Code language: Bash (bash)
taskkill /PID 25321 /F
$ lsof -i tcp:3000
$ kill -9 PID
# list the running ports
$ netstat -ltnp
# kill specific port in my case for django 8000. kill using PID
$ kill -9 31434
kill -9 $(lsof -i TCP:8000 | grep LISTEN | awk '{print $2}')