216.73.216.79
- Country
- Location
- Network
- Reverse DNS
- Country
- Location
- Network
- Reverse DNS
Checking…
For ip.while.sh, your browser picked IPv4.
From the command line
curl https://ip.while.shwhichever family your system preferscurl https://ipv4.while.shforces IPv4curl https://ipv6.while.shforces IPv6curl https://ip.while.sh/jsoneverything as JSON
Questions
What is my public IP address?
It is the address websites see when you visit them. It comes from your provider (home router, mobile network, VPN), and over IPv4 it is shared by every device behind the same router. The one shown here is the address our server sees.
Why two addresses, IPv4 and IPv6?
The internet runs two protocols side by side. IPv4 (like 203.0.113.42) ran out of addresses long ago; IPv6 (like 2001:db8::42) has enough for every device. Most recent connections have both and the browser picks one per site. This page asks a server reachable only over IPv4 and another reachable only over IPv6, so it can show both.
How do I know if I have IPv6?
Look at the IPv6 card at the top. If it shows an address, IPv6 works end to end. If it says “unavailable”, your provider does not offer it, your router has it turned off, or a network in between (VPN, office Wi-Fi) blocks it. From a terminal: curl https://ipv6.while.sh.
Is the location accurate?
No, it is an estimate from a public database (DB-IP). It often lands on your provider’s city rather than yours, and with a VPN or a mobile network it can be hundreds of kilometres off. It never gives a street address.
How do I get my IP from the command line?
curl https://ip.while.sh prints just the address, curl https://ipv4.while.sh and curl https://ipv6.while.sh force a family, and curl https://ip.while.sh/json returns everything as JSON, including a secure field that says whether the request came over HTTPS. Handy in scripts and on servers without a browser.
Do you keep my IP address?
No. Nothing is written to disk: the address stays in memory for a few minutes for rate limiting and the reverse DNS cache, then it is gone. No cookies, no analytics.