[node.js] how to release localhost from Error: listen EADDRINUSE

To kill node server first run this command in your terminal :

  1. top
  2. open another window then copy the server id from the previous window: PID number -9 kill so now you killed your node server try again to run your app.