0.0.0.0/8 ("This Network")

ReservedRFC 1122

0.0.0.0/8 at a glance

0.0.0.0/8 at a glance
CIDR block0.0.0.0/8
First address0.0.0.0
Last address0.255.255.255
Total addresses16,777,216
Subnet mask255.0.0.0
Prefix length/8
TypeReserved
Publicly routableNo
Defined inRFC 1122

Open in CIDR calculator/8 subnet details

What is 0.0.0.0/8 used for?

0.0.0.0/8 means "this network" and is not valid as a destination. 0.0.0.0 is used as a source address by hosts that do not know their IP yet, for example in a DHCP request, and servers use it to mean "listen on all interfaces".

Common subnets of 0.0.0.0/8

FAQ

What does it mean when a server listens on 0.0.0.0?

It accepts connections on every IPv4 interface of the host. Binding to 127.0.0.1 instead limits it to local connections.

Can I ping 0.0.0.0?

It is not a valid destination. On Linux, ping 0.0.0.0 is treated as the local host; on Windows it fails.