Since I started using Mac I am no longer able to host a local server on my router with Express.
In ubuntu it was enough to pass the IP of the router as the second argument of app.listen
and everything worked: like .
When I try to run the same code on Mac OSX I get the following error:
Error: listen EADDRNOTAVAIL
at exports._errnoException (util.js:746:11)
at Server._listen2 (net.js:1129:19)
at listen (net.js:1172:10)
at net.js:1270:9
at dns.js:85:18
at process._tickCallback (node.js:355:11)
at Function.Module.runMain (module.js:503:11)
at startup (node.js:129:16)
at node.js:814:3