Hey. I would like to deal with one very exciting problem for me. I wrote a simple node.js script:
var http = require("http"); http.createServer(function(req, res){ res.end("server is running!"); }).listen(8080);
Well, the server accepts requests on port 8080 and from the local address in the browser everything is displayed as needed. But what if I want my friend to connect to this simple server? I determined my network ip, not local, but when I connect to it, no answer follows, I drive 192.168.0.105:8080 and everything works for me, but not with friends, then I drive 141.138.104.72:8080 (network address), but Does not work for me or for friends. Can you please tell me what else needs to be done so that people can connect to this small server? What is missing?