Shell/Bash: how to close port 3000 running Example

By

Shell/Bash Example: This is the "how to close port 3000 running" Example. compiled from many sources on the internet by SimpleTutorials.org

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

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

netstat -ano | findstr :3000
taskkill /PID "123" /F 

stop npm running on port 3000

netstat -ano | findstr :3000
taskkill /F /PID PID_of_port


* Summary: This "how to close port 3000 running" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others