I want to show a friend something I wrote in Node.js. In order to do so I must run a local machine but I can't get it to work out of 127.0.0.1.
I am trying to run: server.listen(8000, '123.123.123.123'); (with my real IP of course) and I get "Error: listen EADDRNOTAVAIL".
It does work via 127.0.0.1:8000 when I execute: server.listen(8000);.
When I try to access 123.123.123.123:8000 after doing that firefox is "unable to connect".
Any ideas?
80is forwarded automatically you can listen on that instead (usesudoto bind to it)