Answers for "port already in use node js"

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
1

npm port already in use

$ lsof -i tcp:3000
$ kill -9 PID
Posted by: Guest on September-23-2020
0

port already in use node js

sudo kill -9 $(sudo lsof -t -i:3000)
Posted by: Guest on February-11-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language