Sails.js server not starting anymore
javascript, node.js, sails.js
Solution
Open terminal and run this command:
$ lsof -i :8080
Output will show PID of process occupying port 8080: "httpd 1234 ....' Then kill the process with this command
$ kill -9 1234
Sails will now run
Problem
I am using Cloud 9 IDE to develop a simple CRUD application using Sails.js (node.js MVC framework). Up until today I had no trouble starting the Sails.js server. Today, I've been trying to start the sails js server, but I keep getting this error: ``` warn: error raised: Error: listen EACCES error: Server doesn't seem to be starting. error: Perhaps something else is already running on port 8080? ``` I have checked my /config/local.js file and everything is just fine, as it should be. The port is set to process.env.PORT || 1337 so it shouldn't have any problems firing the server up. I'm looking forward to your insight. Thank you!