EADDRINUSE error killed

Node.js EADDRINUSE error killed. Troubleshooting error error when running ‘grunt server’.


It might be that your previous node server was close unexpectedly and the processes are still running. To find out the process id’s:

ps aux | grep node


Then kill them:

kill -9 PID

Doing the -9 on kill sends a SIGKILL (instead of a SIGTERM). SIGTERM has been ignored by node for me sometimes.


You can also try:

killall node

Then you can run your server again as normal.