Skip to content

Instantly share code, notes, and snippets.

@lyleunderwood
Created April 6, 2012 23:34
Show Gist options
  • Save lyleunderwood/2323975 to your computer and use it in GitHub Desktop.
Save lyleunderwood/2323975 to your computer and use it in GitHub Desktop.
Error: EACCES, Permission denied
at Server._doListen (net.js:1100:5)
at net.js:1071:14
at Object.lookup (dns.js:153:45)
at Server.listen (net.js:1065:20)
at Object.listen (/node_modules/socket.io/lib/socket.io.js:67:12)
at Object.<anonymous> (/app/lib/server/server.js:41:12)
at Object.<anonymous> (/app/lib/server/server.js:131:4)
at Module._compile (module.js:402:26)
at Object..js (module.js:408:10)
at Module.load (module.js:334:31)
Error: Restarted too many times, bailing.
Process died with exit code 1. Restarting...
Running node v-0.4.9
16608
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: EACCES, Permission denied
at Server._doListen (net.js:1100:5)
at net.js:1071:14
at Object.lookup (dns.js:153:45)
at Server.listen (net.js:1065:20)
at Object.listen (/node_modules/socket.io/lib/socket.io.js:67:12)
at Object.<anonymous> (/app/lib/server/server.js:43:12)
at Object.<anonymous> (/app/lib/server/server.js:133:4)
at Module._compile (module.js:402:26)
at Object..js (module.js:408:10)
at Module.load (module.js:334:31)
Error: Restarted too many times, bailing.
connect = require 'connect'
sio = require 'socket.io'
...
app = connect().listen process.env['app_port'] || 3001
io = sio.listen app
@georgetogo
Copy link

Real good job here... real good.

@georgetogo
Copy link

I really like what you did on line 9... real good job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment