Features | Public IP Address | Private IP Address |
---|---|---|
Definition | Assigned by ISP, identifies your device/network on the internet | Used within a local/private network (LAN, Wi-Fi) |
Scope | Global – unique across the whole internet | Local – unique only within the same network |
Visibility | Visible to everyone on the internet | Not visible on the internet (only inside network) |
Usage | Internet access, hosting websites, remote access | Communication between devices in the same network (PCs, printers, mobiles) |
Examples | 8.8.8.8 (Google DNS), 52.23.45.67 | 192.168.x.x , 10.x.x.x , 172.16.x.x – 172.31.x.x |
Assigned By | Internet Service Provider (ISP) | Network administrator or router (via DHCP) |
Uniqueness | Always unique globally | Can be reused in different networks |
Cost | Sometimes paid (static public IPs) | Free (comes with your router setup) |
⚡ Analogy:
- Public IP = Your house’s street address (anyone in the world can find it).
- Private IP = Your room number inside the house (only useful inside).
Categories: