Someone asks for "your IP address" and you open your laptop's network settings, copy the number you find there, and send it. Then the firewall rule does not work, the remote desktop connection times out, or the game server admin says the address is wrong. The reason is almost always the same: you sent your private address, and they needed your public one.
This guide explains the two kinds of address every connected device has, why most connections now carry both an IPv4 and an IPv6 address, how to find each one on any platform, and what the location and ISP details shown next to your IP really mean.
Two addresses, two jobs
An IP address is a number that lets packets find their way to a device. Your home or office network actually uses two layers of addresses.
Private addresses are handed out by your router to each device on the local network: your laptop, phone, printer and smart TV. They come from ranges set aside for internal use, so they are not routed on the public internet. Millions of households use exactly the same numbers without any conflict.
| Range | Typical example | Where you see it |
|---|---|---|
| 10.0.0.0/8 | 10.0.0.15 | Offices, some ISPs' routers |
| 172.16.0.0/12 | 172.16.4.20 | Corporate networks, Docker |
| 192.168.0.0/16 | 192.168.1.20 | Most home routers |
| 100.64.0.0/10 | 100.72.10.5 | Carrier-grade NAT (shared by an ISP) |
Your public address is the one the outside world sees. Your router translates all the private addresses behind it into this single address, a process called Network Address Translation (NAT). When you visit a website, the site never sees 192.168.1.20; it sees the public address your ISP assigned to your router.
So the rule is simple. If a person or service on the internet needs to recognise you, for example to allow-list you on a database firewall, they need your public address. If a device in the same building needs to reach your computer, it uses the private one.
Why you may have two public addresses
The internet runs two versions of the Internet Protocol side by side:
- IPv4 addresses are 32 bits long and written as four numbers, such as
203.0.113.45. There are only about 4.3 billion of them, which is why NAT and address sharing became normal. - IPv6 addresses are 128 bits long and written as eight groups of hexadecimal, often shortened, such as
2001:db8:4f2a::1c. There are enough of them that every device can have its own public address.
Many broadband and mobile networks now provide both ("dual stack"). Your browser picks whichever works best for each site, so a website may see your IPv6 address one day and your IPv4 address the next. When you give your IP to someone for an allow-list, it is worth sending both, or confirming which one their system uses.
Find your public IP in a browser
The quickest way to see exactly what websites see is to ask a server on the internet. Our What Is My IP tool does this the moment the page opens.
- Open the What Is My IP page. Your public IPv4 and IPv6 addresses appear automatically within a second or two.
- Click the copy icon next to an address, or Copy both to copy them together in a labelled format that is easy to paste into a support ticket.
- Read Approximate location & network to see the ISP, organisation, ASN, city and the time zone associated with your IP.
- Check Your browser for the browser, operating system, language and screen details your device reports.
- If you are testing a VPN, connect or disconnect it and press Refresh to watch the visible address change.
The IPv4 address is fetched from a service that only answers over IPv4, and the IPv6 one from an IPv6-capable service, so you see both addresses rather than only the one your browser happened to prefer. If IPv6 shows as not detected, your network is simply not using it right now; the IPv6 Test explains why in more detail.
Find your private IP on each platform
Your private address never leaves your network, so no website can show it to you. Look it up on the device itself.
Windows
Open Command Prompt or PowerShell and run:
ipconfig
Look for "IPv4 Address" under your active Wi-Fi or Ethernet adapter. You can also find it under Settings, Network & internet, then the properties of your current connection.
macOS
Open System Settings, choose Network, select your active connection and view its details. In Terminal, ipconfig getifaddr en0 prints the address of the primary interface on most Macs (the interface name can differ).
Linux
Run ip addr (or hostname -I on many distributions) and look for the inet line on your active interface.
iPhone and Android
On iPhone, open Settings, Wi-Fi, and tap the (i) next to your network. On Android the path depends on the manufacturer, but it is usually under Wi-Fi settings, the current network, then an "Advanced" or details section.
What the location and ISP details mean
IP geolocation is an educated guess based on databases that record which organisation holds each address block and where it is routed. In practice:
- Country is usually correct.
- City is often the location of your ISP's regional hub, which can be a different town entirely.
- ISP and organisation name the company that operates the address, such as your broadband provider, mobile carrier or VPN company.
- ASN (autonomous system number) identifies the network that announces the address block on the internet.
None of this reveals a street address or your identity. Only your ISP can link an address to a customer account, and it generally does so only under legal process.
The tool also compares your device's time zone with the time zone of your IP. A mismatch is a common sign that you are on a VPN or proxy, which is exactly what you want to confirm when testing one.
Why your IP address changes
Most home connections have a dynamic public IP. The ISP leases it to your router for a period and may assign a new one when the lease expires or the router restarts. Mobile data connections change addresses even more often, and many mobile networks put large numbers of customers behind a shared address (carrier-grade NAT).
A static IP stays the same and is usually a paid option aimed at businesses. If you regularly need to be allow-listed somewhere, a static IP, a VPN with a dedicated address, or a dynamic DNS service saves you from updating rules every time the address changes.
Troubleshooting common situations
The firewall rule still blocks me
Check which protocol the service sees. If you allow-listed your IPv4 address but your browser connects over IPv6, the rule will not match. Add both, or ask for the address shown in the service's own access log.
The location is in the wrong city or country
If you are not on a VPN, this is normal database imprecision. If the country is wrong and you are using a VPN, it is working as intended. If you think a database has your address wrong, the geolocation providers usually offer a correction form.
Looking up someone else's address
To investigate an address from a log or an email header instead of your own, use the IP Address Lookup tool, and a WHOIS Lookup for registration details of the address block or domain.
Frequently asked questions
Is my IP address the same as my router's address?
Your router has two sides. Its LAN address (often 192.168.1.1 or 192.168.0.1) is private and used to open its settings page; its WAN address is your public IP, which the What Is My IP tool shows.
Can someone find my home from my IP address?
Not from the IP alone. Public geolocation stops at roughly city level and is often wrong even there. Only your ISP holds the link between an address and a customer.
Why does my IPv6 address look different every day?
Many operating systems use temporary "privacy" IPv6 addresses that rotate regularly, while the first half of the address (the network prefix from your ISP) stays the same for longer.
Does a VPN change both my IPv4 and IPv6 address?
A good VPN does. Some only tunnel IPv4 and leave IPv6 traffic going out directly, which reveals your real address. Run a WebRTC Leak Test and check that neither address belongs to your home ISP.
How do I find out what browser and OS a site sees?
The Your browser section shows a parsed summary. To decode any user-agent string in detail, paste it into the User Agent Parser.