0.0.0.0 The "No Particular Address" Address

0.0.0.0 isn't the address of any device. Software uses it to mean "no particular address", and what that means in practice depends on where you see it.

0.0.0.0 is a reserved "this network" address (RFC 1122, 0.0.0.0/8). Software uses it to mean "this host on this network", for example before a device has an address. It is never a destination on the internet, so it has no location, ISP or owner.

Address type
Reserved "This Network" Address
Block
0.0.0.0/8
Defined by
RFC 1122
Location, ISP and owner
None: it can't be geolocated

Where You See 0.0.0.0

  • A server listening on 0.0.0.0 accepts connections on every network interface of the machine, not just one.
  • 0.0.0.0/0 in a routing table is the default route: it matches every destination that no more specific route covers.
  • A device that has no address yet, for example while it asks a DHCP server for one, sends its first packets from 0.0.0.0.
  • Hosts files and DNS blocklists point unwanted names, such as ad servers, to 0.0.0.0 so connections to them fail straight away.
  • 0.0.0.0 shown as your own IP address usually means the device isn't connected or hasn't received an address yet.

0.0.0.0 vs 127.0.0.1

127.0.0.1 is a real destination: your own computer. 0.0.0.0 is not a destination. As a listening address it means every interface, which includes 127.0.0.1 and the addresses other devices can reach.

Your Public IP Address

Websites and online services see your public IP, the one your router or provider uses on the internet. They never see 0.0.0.0.

Look up your public IP address

What the API Returns

The IP Geolocation API answers with HTTP 423 for bogon and private addresses, and charges no credits for it.

GET https://api.ipgeolocation.io/v3/ipgeo?apiKey=API_KEY&ip=0.0.0.0

HTTP/1.1 423 Locked
{
  "message": "'0.0.0.0' is a bogon IP address."
}

Questions about 0.0.0.0

Is 0.0.0.0 a Valid IP Address?

It is valid as a format, but reserved. RFC 1122 allows it only as a source address while a host is still learning its own address. It can't be assigned to a device as a normal address, and nothing on the internet answers at 0.0.0.0, so it has no location.

Is It Safe to Run a Server on 0.0.0.0?

Only if other devices should reach it. Listening on 0.0.0.0 opens the service on every network the computer joins, including public Wi-Fi, so a firewall or a password matters. Use 127.0.0.1 for services only you need, such as a database you query from the same machine.

Why Does 0.0.0.0 Show Up as My IP Address?

Your device has no working connection or hasn't received an address from the router yet. Reconnect to the Wi-Fi or plug the cable back in, then restart the router if the problem stays. Once the router's DHCP server answers, the device gets a normal private address.

More about Special-Purpose Addresses

Private, loopback, link-local, documentation and other reserved ranges are known as bogons: they should never appear as a source or destination on the public internet. Our guide lists every IPv4 and IPv6 bogon range and how to filter them: What are bogon IP addresses?

Common Private and Reserved Addresses

Public Addresses to Look Up

Start with 1,000 free
IP location lookups a day

Location, ASN, and time zone in one request. Get city, country, and currency data for any IPv4 or IPv6 address, backed by a 99.99% uptime SLA. No credit card required.