📜  如何在 nodejs 中释放服务器端口(kill) - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:16.488000             🧑  作者: Mango

代码示例1
lsof -i tcp:3000
//look under PID, the number that appears is the process you want to kill. You can do so as shown bellow. Make sure you remove the '<>'
kill -9