Chrome won't access http://0.0.0.0:4200/

I'm developing an ember-application which is hosted locally on http://0.0.0.0:4200/ . Via Safari I can access the URL without any problems but Chrome always searches for it up on Google.


Chrome won't access http://0.0.0.0:4200/

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

  • Is 0.0.0.0 a valid IP address?

There 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