What Is an IP Address? Public vs Private IP Explained Simply
Every device on a network needs an address so data knows where to go, just like houses need postal addresses. That's an IP address (Internet Protocol address).
IPv4 and IPv6
- IPv4: four numbers separated by dots, like
192.168.1.10. There aren't enough IPv4 addresses for every device in the world. - IPv6: longer addresses with letters and colons, like
2001:db8::1, created to solve that shortage.
Public vs private IP
| Public IP | Private IP | |
|---|---|---|
| Assigned by | Your internet provider | Your router |
| Visible to | Websites and online services | Only devices on your home network |
| Example | A unique number online | 192.168.x.x or 10.x.x.x |
Your router has one public IP, shared by all devices at home. Each device has its own private IP inside your network.
Find your public IP
Search "what is my IP" in a search engine. It shows your public IP and approximate location.
Find your private IP
- Windows: open Command Prompt and type
ipconfig. Look for IPv4 Address. - Android: Settings → Wi-Fi → tap network → details.
- iPhone: Settings → Wi-Fi → (i).
Dynamic vs static
Most home connections have a dynamic public IP that can change, for example when the router restarts. Businesses may pay for a static IP that stays the same, useful for hosting servers.
What can someone learn from your IP?
An IP address reveals your internet provider and an approximate location, usually city-level, not your exact home address. Your provider can link it to your account, but only shares that information with authorities under legal processes.
To hide your IP from websites, you can use a VPN.
"IP address conflict" errors
If two devices on your network get the same private IP, one may lose connection. Restarting the router usually fixes it. See network troubleshooting.
Giving a device a fixed local IP
Printers, security cameras and home servers work more reliably with an address that doesn't change. The best way is DHCP reservation in your router:
- Log into the router and find DHCP or LAN settings.
- Find the device in the connected list.
- Choose "Reserve" or "Add to address reservation".
- Save and restart the device.
This avoids manual configuration on each device and prevents IP conflicts.
What is CGNAT?
Because IPv4 addresses are scarce, many providers, especially mobile and some broadband networks, share one public IP among many customers using Carrier-Grade NAT (CGNAT). You won't notice for normal browsing, but it can cause problems with hosting game servers, remote camera access or port forwarding. Providers may offer a public or static IP on request, sometimes for a fee. IPv6 support also helps.
IP privacy tips
- Websites you visit, online games and peer-to-peer apps can see your public IP.
- Don't share your IP address with strangers who ask for it in games or chats; it can be used for denial-of-service attacks on your connection.
- Restarting your router may give you a new public IP if your provider uses dynamic addresses.
- A VPN hides your IP from websites.
Frequently asked questions
Can someone hack me with my IP address?
An IP alone rarely allows hacking. Keep your router updated and firewall on.
Why does my IP show a different city?
IP location databases are approximate and often show your provider's hub city.


