OctalPilot
OctalPilot guide

Public vs Private IP Addresses: How They Work

The public IP shown by a website and the private IP shown in your Wi-Fi settings are both valid addresses, but they exist in different parts of the network.

What is a public IP address?

A public IP address is routable on the public internet. When your browser connects directly to a website, that service receives an internet-facing source address for the connection. At home, this is often the public address assigned to your router by your internet provider. On mobile networks or large providers, multiple customers may share public addressing infrastructure.

What is a private IP address?

Private addresses are intended for use inside local IPv4 networks. The familiar private ranges are:

  • 10.0.0.0/8
  • 172.16.0.0/12
  • 192.168.0.0/16

Addresses from those ranges are reused in millions of homes and businesses. Your laptop can be 192.168.1.20 while a laptop on the other side of the world uses exactly the same local address. The two devices are not in conflict because the addresses are only meaningful inside their separate private networks.

How NAT lets many devices share one public IPv4 address

Network address translation keeps track of connections created by private devices and maps them to traffic leaving through the public interface. When the response returns, the router uses that mapping to deliver the data to the correct local device.

This is why a phone, laptop and television on the same home Wi-Fi often show the same public IPv4 address on an IP checker even though each device has a different private address.

Public IP ≠ local device IP. A web page usually sees the public side of the connection, not the private 192.168.x.x address shown by your router.

What is carrier-grade NAT?

Some internet providers place customers behind another layer of address translation known as carrier-grade NAT. This lets the provider share a smaller pool of public IPv4 addresses among many subscribers. It can affect services that expect unsolicited inbound connections, such as some game servers, peer-to-peer applications or self-hosted services.

If the WAN address shown by your router differs from the public IP shown by an internet checker, CGNAT or another upstream translation layer may be involved.

What about IPv6?

IPv6 has enough address space that networks do not need NAT simply to conserve addresses. Devices can have globally routable IPv6 addresses while still being protected by stateful firewalls. IPv6 also has link-local and unique-local scopes, so the public/private distinction does not map perfectly to the IPv4 model.

Does a private address make a device secure?

Private addressing and NAT can reduce direct inbound reachability, but they are not substitutes for secure configuration. Router firmware, firewalls, operating-system updates, strong authentication and application security still matter. Likewise, having a globally routable IPv6 address does not automatically mean a device accepts unsolicited traffic.

Which address should you share with support?

If a support technician asks for the address websites see, use the public IP from the OctalPilot IP checker. If they are troubleshooting communication between devices on the same local network, they may instead need the private address from your device or router settings. Ask which one they need before sharing it.

Check your current connection

Use the OctalPilot IP and browser diagnostic to see the public address and connection details visible to this page right now.

How this guide is reviewed

OctalPilot separates directly observed connection data from estimates and browser inference. See our methodology and corrections approach.