What is the Difference?
- Public IP Address (External): Assigned by your Internet Service Provider (ISP) or Cloud Host. It is globally unique across the entire planet. Anyone on the internet can reach this IP (if firewall rules allow).
-
Local / Private IP Address (Internal): Used only inside a private network (like your home Wi-Fi or internal data center LAN). Reserved ranges include
192.168.x.x,10.x.x.x, and172.16.x.x. -
Loopback IP (
127.0.0.1/localhost): A special local address that always means "this exact computer I am running on right now."