I am running sailsjs on a ubuntu ec2 instance. It works fine on port 1337, however when I set the port to 80 I get:
warn: error raised: Error: listen EACCES
error: Server doesn't seem to be starting.
error: Perhaps something else is already running on port 80?
debug: Lowering sails...
After finding this link I tried passing the host IP and port in app.js
like this:
require('sails').lift({port:80,host:'127.0.0.1'});
That didn't work either. I checked for other apps running on port 80 via the netstat
command and there aren't any.