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!
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.
Get the corresponding process id and
kill
just drop itOpen the task manager, find node.js, and end the process;