Doing some node development on windows. Node programs like to kick out URLs that look like
http://0.0.0.0:8080. In Linux (iirc) pasting that url into the browser will be successful. But in Windows, it's a 404. I thought I'd just be able to add:
hosts file but that doesn't seem to work. For instance, I have a debugger running on
http://localhost:8080/debug?port=5858. Works fine. But when I add the above line to my hosts file and try to access
http://0.0.0.0:8080/debug?port=5858 I get:
Error 108 (net::ERR_ADDRESS_INVALID): Unknown error.
Node-inspector is a good example:
$ node-inspector info - socket.io started visit http://0.0.0.0:8080/debug?port=5858 to start debugging
Do I just need to manually edit that IP to be equal to localhost when copy/pasting? Or is this a weird difference between Linux and Windows?
How do I get
0.0.0.0 to be equivalent to
localhost when browsing urls in Windows 7? Chrome is my 'default' browser.