Blog / Basics
Public IP vs static IP: what’s the difference?
People often compare “public IP” and “static IP” as if they were opposites. They are not. They describe two different things about an address, and an IP address can be any combination of them. This guide explains both and helps you decide what you need.
Public and private: who can see the address
A public IP address is the address your internet provider gives your connection. It is unique on the internet, and websites see it when you visit them.
A private IP address is used only inside your home or office network. Your phone, laptop and TV each have one, usually starting with 192.168., 10. or 172.16 to 172.31. Your router translates between these private addresses and your single public one.
Static and dynamic: whether the address changes
A dynamic IP can change over time, for example when your router restarts or your provider renews your lease. Most home connections are dynamic.
A static IP stays the same until you or your provider change it. Providers often charge extra for a static public IP.
Putting them together
| Type | Example | Typical use |
|---|---|---|
| Public + dynamic | Most home internet | Browsing, streaming, gaming |
| Public + static | Business line, server | Hosting, VPN, remote access |
| Private + dynamic | Phone on home Wi-Fi | Everyday devices |
| Private + static | Printer, NAS, camera | Devices you need to find reliably |
How to find your public IP
Search “what is my IP” in any search engine, or open a command prompt and run curl ifconfig.me. To find your private IP on Windows, run ipconfig and look at IPv4 Address.
A common catch: shared public addresses
Many providers, especially mobile networks, put several customers behind one public address. This is called CGNAT. To check, compare the WAN or Internet IP shown in your router with the one a “what is my IP” site shows. If they differ, or the router shows an address starting with 100.64 to 100.127, you are behind CGNAT. Hosting a server or reaching your home network from outside will not work until you ask your provider for a real public IP.
Do you need a static IP?
For browsing, streaming and gaming, no. A static public IP helps when you:
- Host a website, game server or email server at home.
- Need remote access to cameras, a recorder or a VPN.
- Must be on an allow-list that checks your IP address.
Cheaper alternatives
- Dynamic DNS: a service gives your changing public IP a fixed name, so it always works.
- A tunnel service: tools such as Cloudflare Tunnel let people reach your service without opening ports on your router.
- DHCP reservation: for devices inside your home, set a reservation in the router so a device always gets the same private IP.
Security note
A static public IP is a permanent, known target. Keep the firewall on, close ports you do not use, update your software, and expose only the services you need.