Public vs. private IP addresses
Your laptop probably has two IP addresses at once: a private one your router gave it, and a public one the rest of the internet sees. They do different jobs.
Private addresses: inside your network
Your router acts like the front desk of an apartment building. Every device inside (laptops, phones, TVs, the smart fridge that definitely doesn't need Wi-Fi) gets its own private IP address so the router can tell them apart. Private addresses come from ranges set aside for this purpose and never travel across the public internet:
10.0.0.0to10.255.255.255172.16.0.0to172.31.255.255192.168.0.0to192.168.255.255(the one most home routers use)
Because these ranges are reused everywhere, millions of homes have a device at 192.168.1.10. That's fine, because none of them are visible from outside.
Public addresses: what the world sees
Your router has one public IP address, assigned by your internet provider. When any device in your home visits a website, the router swaps the device's private address for its public one on the way out, and swaps it back on the way in. This trick is called NAT (network address translation), and it's why a whole household can share one public address.
The address on the GopherIP home page is your public one. It's the one websites, game servers, and email providers see.
A quick way to tell them apart
| Private | Public | |
|---|---|---|
| Who assigns it | Your router | Your internet provider, carrier, or VPN |
| Who can see it | Devices on the same network | Every site you visit |
| Unique worldwide? | No | Yes, at any given moment |
| Typical look | 192.168.1.23 | 203.0.113.42 |
Other special addresses
- Loopback (
127.0.0.1and::1) always means "this same computer." Developers use it to reach things running on their own machine. - Link-local (
169.254.x.x) shows up when a device couldn't get an address from the router. If you see one, something's wrong with the connection. - Carrier-grade NAT (
100.64.0.0to100.127.255.255) is used by some providers that share one public address among many customers.
Which one do I need?
If someone outside your network needs to recognize you (a server allowlist, a remote support tech, a firewall rule), give them your public address. If you're setting up something inside your own network (a printer, port forwarding, a home server), you need the device's private address. Here's how to find both on any device.