Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenShift node.js Error: listen EACCES

Tags:

I have been using OpenShift with node.js and socket.io. My code is:

server.listen(process.end.OPENSHIFT_NODEJS_PORT || 3000);

My code says that it returns port 8080. However, I get this error:

 DEBUG: Starting child process with 'node server.is'
 Info: socket.io started
 warn:error raised: Error: listen EACCES

How can I fix this? No other solution I can find works.