I've written a small node.js app, using Connect, that serves up a web page, then sends it regular updates. It also accepts and logs user observations to a disk file.
It works fine as long as I am on localhost, but I can't get other commputers on the same intranet to see it. I am using port 3000, but changing to port 8080 or 80 didn't help.
Here is the code I am using to set up the connection:
var io = require('socket.io'),
connect = require('connect');
var app = connect().use(connect.static('public')).listen(3000);
var chat_room = io.listen(app);
Most probably your server socket is bound to the loopback IP address
127.0.0.1 instead of the "all IP addresses" symbolic IP
0.0.0.0 (note this is NOT a netmask). To confirm this, run
sudo netstat -ntlp (If you are on linux) or
netstat -an -f inet -p tcp | grep LISTEN (OSX) and check which IP your process is bound to (look for the line with ":3000"). If you see "127.0.0.1", that's the problem. Fix it by passing "0.0.0.0" to the
var app = connect().use(connect.static('public')).listen(3000, "0.0.0.0");