How to Find My Public IP Address Instantly (IPv4 & IPv6)
Whether you are setting up a remote desktop connection, configuring a VPN, or running a personal gaming server, knowing how to find your public IP address is an essential skill. Your device has a private address inside your home network, but your public IP is what the outside internet sees. Here is how to find your public IPv4 and IPv6 address on any platform.
Method 1: The Quickest Web Search Approach
- Open any browser (Chrome, Safari, Firefox, or Edge).
- Type “What is my IP address” or “Find my IP” into the search bar.
- Search engines like Google show your public IP at the top of the results.
- For geolocation details, use a lookup tool such as MyNetQ’s What Is My IP, whatismyip.com, or ipinfo.io.
Method 2: Windows Command Prompt
- Press Windows + R to open the Run box.
- Type
cmdand press Enter. - Run one of these commands:
curl ifconfig.me
nslookup myip.opendns.com resolver1.opendns.com
Your public IP prints directly in the console window.
Method 3: macOS and Linux Terminal
curl api.ipify.org
To check your public IPv6 address specifically:
curl api6.ipify.org
Method 4: iOS and Android
- Wi-Fi: connect to Wi-Fi, open your browser, and search “Check my IP IPv4 IPv6”. Your phone shares the same public IP as other devices on that network.
- Cellular data: with Wi-Fi off, the lookup shows the temporary public IP assigned by your mobile carrier.
Understanding IPv4 vs. IPv6 Addresses
- IPv4: four numbers separated by dots, e.g.
192.0.2.1. - IPv6: a longer string separated by colons, e.g.
2001:0db8:85a3:0000:0000:8a2e:0370:7334.
IPv6 was developed to replace IPv4 because of global address shortages and offers trillions of unique addresses. Many ISPs now assign both at once (a dual-stack setup). Not sure why an address looks different from what you expected? Read public vs. private IP addresses.
Conclusion
Finding your public IP takes only seconds. Whether you use a web search or a command, knowing your external IP helps you manage network permissions, secure your firewall, and control remote access. If your connection feels off while you are checking, try our speed test or read why is my Wi-Fi slow.