stop all instances of node.js server

前端 未结 16 1779
我在风中等你
我在风中等你 2020-11-28 17:23

This is my first time working with Node.js and I ran into this problem:

I have started a Node server through the plugin of an IDE. Unfortunately, I cannot use the ID

16条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-28 17:41

    Multiplatform, stable, best solution:

    use fkill to kill process which is taking your port:

    fkill -f :8080
    

    To install fkill use command: npm i -g fkill

提交回复
热议问题