node.js - node port disappears but process still running
伊谢尔伦
伊谢尔伦 2017-05-16 13:31:12
0
2
654
  1. Node handles requests by starting js files, but in the past two days, I found that the 3000 port started by node disappeared, but the process still exists, and the process has not been restarted, and there will be no other applications. Port 3000 will be occupied, please ask the experts for solution ideas! Thank you!

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(2)
某草草

Sometimes the shell exits but forgets to close the node process. Sometimes the process corresponding to the node service will always exist. I've often encountered this problem recently.

lsof -i :3000

Get the corresponding process id and killjust drop it

Peter_Zhu

Open the task manager, find node.js, and end the process;

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template