端口3000已经在使用中,但是当我尝试杀死时没有发现任何东西
netstat -ano | findstr :3000
taskkill /PID "123" /F
npm端口已在使用中
$ lsof -i tcp:3000
$ kill -9 PID
如何关闭端口3000运行
### 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
停止在端口3000上运行的npm
netstat -ano | findstr :3000
taskkill /F /PID PID_of_port