How to Find My IP Address (Public and Private)
There are two different "my IP" answers: your public IP (what websites see) and your private IP (what your device uses on the local network).
Your Public IP
The fastest way: look at the top of this page — your public IP is shown there instantly, along with reverse DNS, country and network. You can also open the IP Lookup tool to inspect any address.
From a terminal:
curl https://show-ip-addr.com/api/myip
Your Private IP (Local Network)
| OS | How to find it |
|---|---|
| Windows | ipconfig in Command Prompt, or Get-NetIPAddress in PowerShell |
| macOS | ipconfig getifaddr en0, or System Settings → Network |
| Linux | ip addr show (see Linux IP commands) |
| iPhone | Settings → Wi‑Fi → (i) next to your network |
| Android | Settings → About phone → Status → IP address |
Your private IP usually starts with 192.168., 10. or 172.16–31. — those are private ranges that the world never sees directly because of NAT.
Seeing a different public IP than expected? You may be behind a VPN, proxy or mobile carrier NAT.