Public vs private IP addresses

Public and private addresses belong to different scopes; seeing two different values is usually expected.

Short answer

A public IP address is reachable or visible across the public internet and is normally assigned through an internet provider. A private IP address is used within a local network and is not routed on the public internet. A home router often connects many private devices through one public IPv4 address.

Side-by-side comparison

Public and private address scope
QuestionPublic IPPrivate IP
Where is it used?Across public internet routingInside a local network
Who normally assigns it?ISP, mobile carrier, hosting network, or VPNRouter, network administrator, or device configuration
Who normally sees it?Remote services reached through that pathDevices and routers in the local scope
Can unrelated networks reuse it?Not as the same globally routed addressYes; reserved private ranges are intentionally reusable
Does it have to stay the same?No; assignment and exit paths can changeNo; local leases and interfaces can change

“Public” and “private” describe routing scope, not importance or secrecy. Both values can be correct at the same time because they identify different sides of a connection.

Who assigns each address and who can see it

An internet provider can delegate a public prefix or address to a home connection, while a mobile carrier may present a shared gateway address. A VPN typically substitutes an exit-server address for traffic carried through the tunnel. Remote services see the source that reaches them on that path.

Inside a home or office, the router or network administrator assigns private IPv4 values independently. RFC 1918 reserves 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 for private internets. Because these ranges are not ordinary public routes, the same value can appear in unrelated homes without conflict.

A private address is still visible to the local network and to software that has legitimate access to it. The label does not mean “secret”; it means the address belongs to a limited routing scope.

Continue with What is an IP address?, compare it with How to find public and private IP addresses on Android, or use IPv4 vs IPv6: what changes? for the next practical step.

How NAT lets private devices share public IPv4

Consider a phone using 192.168.1.20 and a laptop using 192.168.1.30. When they open internet connections, the home router can translate both flows to its public IPv4 address while keeping separate port mappings. Replies return to the router, which uses those mappings to deliver each response to the correct device.

Carrier-grade NAT can add a second translation layer inside the provider. In that case, several customer routers can share an outward-facing IPv4 address. This is one reason an IP address alone is weak identity evidence: the missing time, port, provider records, and translation context matter.

The protocol details in this guide follow RFC 1918 — Address Allocation for Private Internets and RFC 6598 — Shared Address Space for Carrier-Grade NAT; use those primary specifications when you need exact terminology or edge-case behavior.

How IPv6 changes the comparison

IPv6 often gives interfaces globally scoped addresses without using the same home IPv4 NAT pattern. It also defines link-local addresses for the local link and unique-local addresses for selected private scopes. One device can hold multiple IPv6 addresses with different purposes and lifetimes.

A globally scoped IPv6 address is still subject to router and host firewall policy; global scope does not automatically mean the device accepts unsolicited inbound traffic. Likewise, using temporary IPv6 addresses can reduce simple address correlation without making a connection anonymous.

An Android before-and-after example

  1. Check connected Wi-Fi details

    Record the local IPv4 or IPv6 values, gateway, and network name Android currently reports.

  2. Check the public result

    Use the same connection to record public IPv4, IPv6, or both. Label these values “internet-facing.”

  3. Switch one path

    Move to mobile data or connect a VPN without changing anything else you intend to compare.

  4. Repeat and label the cause

    A new local address follows the interface change; a new public address follows the changed outward path.

Do not compare an old Wi-Fi private address with a current mobile public address as though they were competing answers. Keep the interface and time beside every value.

What the comparison cannot prove

  • A private address does not prove local traffic is trusted or encrypted.
  • A public address does not prove a device is directly reachable through firewalls or translation.
  • A changed public IP does not prove every application uses a VPN.
  • A shared public IP does not identify which person or device made a request.

Check your public IP in IP Finder

Compare the internet-facing IPv4 and IPv6 used by your current Android connection.

Get IP Finder

Common questions

Is a private IP hidden from every website?
A normal remote website sees the public source of the connection rather than the private Wi-Fi address. However, applications, browser features, local services, or information you submit can expose other data, so this distinction is not a complete privacy guarantee.
Does every device at home use the same public IP?
They often share one public IPv4 through the router, but IPv6 addressing and multiple provider paths can produce different public addresses. Check the active protocol and network instead of assuming one value for all traffic.
Is a public IP directly reachable from the internet?
Not necessarily. Provider translation, router state, firewalls, and service configuration affect inbound reachability. “Public” describes the address scope; it does not promise that unsolicited traffic can reach a device.

Sources

  1. RFC 1918 — Address Allocation for Private Internets — IETF
  2. RFC 4193 — Unique Local IPv6 Unicast Addresses — IETF
  3. RFC 6598 — Shared Address Space for Carrier-Grade NAT — IETF

Repeat the comparison after the network changes

Save the context, switch Wi-Fi, mobile data, or VPN state, then run the matching IP Finder check again.

Get IP Finder