Quantcast
Channel: How to access NodeJS server on LAN? - Super User
Viewing all articles
Browse latest Browse all 6

Answer by Peter Lyons for How to access NodeJS server on LAN?

$
0
0

Most likely your node application is binding to the loopback IP address 127.0.0.1 instead of the "all IPs"0.0.0.0 since this is the default behavior of listen. Specify both port and IP in your call like server.listen(80, '0.0.0.0'); and try again.


Viewing all articles
Browse latest Browse all 6

Trending Articles