Let's you find out what process is listening on a particular port. sudo lsof -i -P | grep 3000 Credit to http://stackoverflow.com/questions/18687877/nodejs-application-error-bind-eaddrinuse-when-use-pm2-deploy