NodeJS运行时抛出: Error: listen EADDRINUSE :::3000

查找系统所示正在使用的端口列表

shell> netstat -lntp

查找监听端口号的进程PID

shell> lsof -i :3000

杀死对应进程PID, 如13459

shell> kill -9 13459

你可能感兴趣的:(Linux)