EADDRINUSE - Still Cannot Kill Node Process

I am running a terminal in webstorm. I try to run node --harmony app.js and says my koa app.listen () is already running.

So, I'm trying to find and see which node processes are running with ps aux | grep node

I see a couple of results:

myUserName 897 0.0 0.0 3083844 160 s000 T 11:15AM 0:00.32 node --harmony app.js myUserName 1935 0.0 0.0 2441988 676 s000 S+ 1:33PM 0:00.00 grep node 

I am trying to kill 897 by doing kill 897 or pkill 897, but it still works. How can I kill this !!! ??

+4
source share
2 answers

kill -9 897

The kill command sends a signal to this process, but if you do not use -9, which sends a SIGKILL signal, the process is allowed to try to kill itself.

+6
source

fuser -k 4060 / tcp

where 4060 is the port on which the node server is running.

0
source

All Articles