I am using the native Windows binary of Node.js, and in creating a HTTP object, with Socket.IO, I cannot access the server from any computers than the one the server is executing on. I have tried running it as an administrator, but it didn't work. I have a feeling it is within these lines:

var app = require('http').createServer(handler), io = require('socket.io').listen(app), fs = require('fs');
app.listen(8080, "0.0.0.0");

How would I fix these to make the server accessible externally? or would I have to proxy it through Nginx?

link|improve this question
4  
Open the firewall for port 8080. – mailq Oct 30 '11 at 21:22
That doesn't appear to be the issue. If I were to go to localhost:8080 it would get no response, while 127.0.0.1:8080 would work perfectly. – Josh Nov 1 '11 at 3:54
Localhost ist not "other machines". But also repair your local name resolution. – mailq Nov 1 '11 at 9:11
I did a little looking at the command output, and unless the server was being accessed from 127.0.0.1, it would actually drop the connection, so, there would be no waiting for a "Website down", the server forcefully denies the connection – Josh Dec 4 '11 at 21:48
@Josh: Hence mailq's comment. – David Schwartz Feb 21 at 9:56
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.