How to find your IP address on a computer or phone: public IP, local IP, and your IP behind a proxy
In this article
"What's my IP?" sounds simple, but a device usually has at least two IP addresses: a local one inside your home network, and a public one that websites see. Use a proxy and there's a third: the proxy's. This guide shows how to find each on computers and phones, explains how they differ, and how to check your IP while using a proxy.
Public vs local IP
- Your public IP is the address websites see. Your provider assigns it to your internet connection. Everyone in your home usually shares one public IP through the router.
- Your local IP is the address of each device in your home network, assigned by the router. It never goes out to the internet.
Local IPs sit in reserved ranges: 192.168.x.x, 10.x.x.x, or 172.16.x.x to 172.31.x.x. If you see an IP from 100.64 to 100.127, that's the range carriers use for carrier-grade NAT (CGNAT), very common on mobile networks.
For proxies, the IP that matters is the public IP.
Find your public IP
The easiest way, on any device: open 65Proxy's my IP tool. It shows your public IP, country and network, tells you whether it's a Singapore IP, and compares your browser's time zone with the IP. Other pages work too, for example https://api.ipify.org (just the IP) or https://ipinfo.io (with country and network).
On a computer, from the command line:
curl https://api.ipify.orgOn Windows PowerShell, type curl.exe instead of curl. For country and network too:
curl https://ipinfo.io/jsonFind your local IP on a computer
Windows: open Command Prompt and type:
ipconfigLook for IPv4 Address under the network adapter you're using (Wi-Fi or Ethernet).
macOS: System Settings → Wi-Fi → Details of the connected network, or in Terminal:
ipconfig getifaddr en0Find your IP on a phone
- iPhone, iPad: Settings → Wi-Fi → tap the i next to the connected network → IP Address (this is the local IP).
- Android: Settings → Network → Wi-Fi → tap the connected network → the IP entry (the name varies by manufacturer).
Your phone's public IP: open a browser and visit an IP page as above. On 4G, the public IP is the mobile carrier's and can change whenever the phone reconnects.
What your IP reveals
- Your country and often your city (sometimes off by a few cities).
- Your provider, and whether it's a home, mobile or server network.
- Not your home address, name or phone number. Only the provider can match an IP to a subscriber.
Sites use your IP to pick language, prices and regional content, and to score risk. See how websites detect proxies.
Check your IP while using a proxy
When a proxy works properly, an IP page should show the proxy's IP, not your home IP.
In a browser set up with the proxy, open https://ipinfo.io and check the country and network. From the command line:
curl -x "http://USER:PASS@HOST:PORT" https://ipinfo.io/jsonWith a Singapore 4G proxy you'll see "country": "SG" and a mobile carrier's name. If you still see your home IP, the proxy isn't applied to that program. More thorough checks (DNS and WebRTC leaks, time zone) are in how to check a proxy. The ways to get a Singapore IP in the first place are compared in how to get a Singapore IP address.
Why does my IP change?
- Dynamic IPs from your provider: a home connection's public IP can change when the router restarts.
- Mobile networks change IP when the device reconnects (the very mechanism 4G proxies use to rotate). See 4G rotating proxies.
- A VPN or proxy is switched on.
65Proxy
Our 4G proxies give you a Singapore mobile carrier's public IP, switched to a new one by link or API when you need it (at most once every 5 minutes). Dedicated and not shared, HTTP and SOCKS5, priced 1 day $4, 7 days $13, 1 month $32 (200GB each), plus monthly plans with more bandwidth (500GB $40, 1TB $65). See what a proxy is if you're just starting, or pricing.
Frequently asked questions
Which should I keep private, local or public IP?
Your local IP is harmless since it never reaches the internet. Every site you visit sees your public IP; it doesn't reveal your identity but does give an approximate location. Don't post it publicly without reason.
Why does a site think I'm in another city?
IP location databases aren't exact, especially for mobile networks: an IP may be recorded at the city where the carrier's equipment sits, not where you are.
I see two IPs, IPv4 and IPv6: is that normal?
Yes. Many networks have both, and which one a site uses depends on whether it supports IPv6. See IPv4 vs IPv6 proxies.