Accessing the node.js server from a remote system

2,054 views
Skip to first unread message

Bhushan N.N

unread,
Mar 15, 2013, 2:24:48 AM3/15/13
to nod...@googlegroups.com
I have a node server running on port 3000 on a Windows XP system.

I am unable to access the server from any other computer within the same network.

Tried using the IP address:3000 and CMPUTERNAME:3000

I have added port 3000 to the windows firewall exceptions.

Can someone please help me out? I am supposed to be giving a demo today but unable to get this working.

Thanks for the help
Bhushan

Abhay Rana

unread,
Mar 15, 2013, 3:10:21 AM3/15/13
to nod...@googlegroups.com
Are you listening on the right ip address? Listening on 127.0.0.1 would make it available only on the loopbak interface, ie the same machine.



--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
 
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Bhushan N.N

unread,
Mar 15, 2013, 3:29:49 AM3/15/13
to nod...@googlegroups.com
Listening on my IP Address.

Bhushan N.N

unread,
Mar 15, 2013, 3:36:24 AM3/15/13
to nod...@googlegroups.com
server.listen(app.get('port'), 'xxx.xxx.xxx.xxx', function(){
  console.log("Express server listening on port " + app.get('port'));
});


On Friday, 15 March 2013 12:40:21 UTC+5:30, Abhay Rana wrote:

greelgorke

unread,
Mar 15, 2013, 5:10:17 AM3/15/13
to nod...@googlegroups.com
for presentation you can remove the host-parameter. it will by default listen on all interfaces then
Reply all
Reply to author
Forward
0 new messages