Created
April 6, 2012 23:34
-
-
Save lyleunderwood/2323975 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
connect = require 'connect' | |
sio = require 'socket.io' | |
... | |
app = connect().listen process.env['app_port'] || 3001 | |
io = sio.listen app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I really like what you did on line 9... real good job.