Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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, "");

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

share|improve this question
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 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, 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 '12 at 9:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.