Answers for "kill process on port 4000 nodejs"

1

how to close port 3000 running

### For Linux/Mac OS search (sudo) run this in the terminal:
$ lsof -i tcp:3000
$ kill -9 PID

### On Windows:
netstat -ano | findstr :3000
tskill typeyourPIDhere 

### change tskill for taskkill in git bash
Posted by: Guest on January-18-2021
3

Port 3000 is already in use, but when I try to kill nothing is found

netstat -ano | findstr :3000
taskkill /PID "123" /F
Posted by: Guest on May-24-2020

Browse Popular Code Answers by Language