Skip to content

Commit

Permalink
listen on all ips, not just 127.0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BertHartm committed Oct 11, 2014
1 parent 50a9b0c commit 5af95ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ex4-firstServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ http.createServer(function (req, res) {
res.end("This is my website\n");

// Have server listen on port "1337"
}).listen(1337, "127.0.0.1");
}).listen(1337, "0.0.0.0");

0 comments on commit 5af95ba

Please sign in to comment.