I am using NVM to develop a Sails web application. I have installed node v0.12.7, through NVM and I use this version to run the website.
nvm use 0.12.7
I have solved the issue doing the following.
I have change the owner and the group of node.
which node # gives a string with the path to node sudo chown root:root path_to_node sudo chmod u+s path_to_node
That way, whatever user executing node will do it with the owner privileges. And in this case, the owner is root and its privileges are enough to use ports under 1024.
What do you think about this solution?