I'm developing an ember-application which is hosted locally on . Via Safari I can access the URL without any problems but Chrome always searches for it up on Google.
44 Answers
Chrome won't access
This is because 0.0.0.0 is not a routable IP address and is never used as a destination address.
In the Internet Protocol version 4 the address 0.0.0.0 is a non-routable meta-address used to designate an invalid, unknown or non applicable target.
Source 0.0.0.0
0.0.0.0 “Me”: (Alternately, “this host”, or “the current/default host”). Used by a device to refer to itself when it doesn't know its own IP address. The most common use is when a device attempts to determine its address using a host-configuration protocol like DHCP. May also be used to indicate that any address of a multihomed host may be used.
Source IP Addresses With Special Meanings
The address 0.0.0.0 may only be used as the address of an outgoing packet when a computer is learning which IP address it should use. It is never used as a destination address.
Source IP Information for 0.0.0.0
Further reading
2There is a simple trick: Go to the hosts file (it depends on which OS you have) and add a record:
0.0.0.0 whatever.youlike
Now open chrome and goto whatever.youlike and it works.
For Windows:
C:\Windows\System32\drivers\etc\hosts
For Mac:
/private/etc/hosts
For Linux:
/etc/hosts
Another way you can get it to open it is to run open , which, although easy, tells us that chrome only opens it if the OS forces it to.
It's a bug in Chrome. After several arguments, they decided that are going to fix it.
1