Guides

A device settings screen beside a website, showing that the address on the device and the address the site sees are not the same.

How to Find Your Public IP Address

The fastest way to see the address websites use for your connection is to ask a site on the public internet. Open myip.blog and the homepage will show the public IP address for this visit.

Device Settings, and tools like ipconfig, usually show a different address: the one your laptop or phone uses on your home or office network. That local address is useful for printers and Wi‑Fi troubleshooting. It is not what a remote website sees.

The address in Settings is often private

On a typical home Wi‑Fi setup, your router gives each device a private address for talking inside the house. The router then uses one public address (or a shared one from your provider) on the open internet.

So both addresses can be “your IP,” and both can be correct:

If a support team or an allowlist asks for “your IP,” they almost always mean the public one. For how to recognize private ranges such as 192.168 and 10.x, and what your router is doing in the middle, see Public vs private IP addresses.

A simple diagram of home devices behind a router, with Settings looking at the local network and a public checker seeing the connection from the internet.

How to see the local address in Settings

Menu names vary a little by version and phone maker. You are looking for the IP address of the Wi‑Fi or Ethernet connection you are using now. On Wi‑Fi, that value is usually private.

Windows: Open Settings, then Network & internet. Choose Wi‑Fi and the network you are on, or choose Ethernet if you use a cable. Under Properties, read the IPv4 address (and IPv6, if one is listed). In Terminal or Command Prompt, you can also run ipconfig and read the IPv4 Address line for the active adapter.

Mac: Open System Settings, then Wi‑Fi or Network. Open Details for the connection you are using, and look at the TCP/IP IP address. In Terminal, local interface tools such as ifconfig show the same kind of on-device address.

iPhone or iPad: Open Settings, then Wi‑Fi, and tap the information button next to the network you are on. The IPv4 Address section shows the phone’s local address. Cellular connections often do not show a simple public address in Settings.

Android: Open Settings, then the Wi‑Fi or Internet section, and open details for the network you are on. The exact labels differ on Pixel, Samsung, and other phones; look for IP address. That value is usually the local one.

If the address starts with 192.168., 10., or 172.16. through 172.31., you are looking at a private address. Keep it for local tasks. To see the public address, use a checker or the commands below.

How to see your public IP

In a browser

Go to myip.blog. The page shows the public IP for this visit, plus approximate location and network details for that same request.

Refresh after you switch Wi‑Fi, move to mobile data, or turn a VPN on or off. The check describes this visit only; it does not lock the address in place.

Check your public IP on myip.blog

In a terminal

If you would rather read the address from a command line, these two endpoints are meant for that.

To print only the address:

curl -s https://myip.blog/ip.txt

To print JSON for this visit (the public IP plus related connection fields):

curl -s https://myip.blog/api/me

A terminal window with a curl command that requests the public address from myip.blog, with no address shown in the output.

curl is available in Terminal on Mac and most Linux systems, and in Windows Terminal or Command Prompt on current Windows versions.

The address you get is for that request. Depending on how your network reaches the site, you may see IPv4 or IPv6. If you use a VPN, these commands show the address after the VPN, not necessarily the one your internet provider assigned at home.

A few things that are easy to mix up

FAQ

Why is the IP in Settings different from the one on myip.blog?

They usually measure different things. Settings shows the address on your local network. myip.blog shows the public address for this visit — the one a website sees.

How do I find my public IP on my phone?

The most reliable way is to open myip.blog in the phone’s browser. The IP in Wi‑Fi settings is usually private. Cellular settings often do not show the public address clearly.

Which address should I give to support or put on an allowlist?

The public one, which is what their servers see. A private 192.168 or 10.x address will not reach you from the internet. Confirm it with a checker at the time you submit it, because it can change when you switch networks or use a VPN.

What is the difference between /ip.txt and /api/me?

/ip.txt returns only the public address as plain text, which is handy for scripts. /api/me returns JSON for the same visit, including the IP and related connection details. Both describe this request only.

Does ipconfig show my public IP?

Usually not. On a home or office network, ipconfig (and the Mac or Linux equivalents) show the adapter’s local address. Use a public checker, or curl against myip.blog, to see the address websites see.

Is it safe to check my public IP?

Yes — seeing the address a site already needs in order to reply to you is a normal diagnostic check. Treat the page like any other website: use HTTPS, and skip unexpected downloads or sign-in prompts.