How to Find My Public IP Address Instantly (IPv4 & IPv6)

By MyNetQ · Networking guide ·

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

  1. Open any browser (Chrome, Safari, Firefox, or Edge).
  2. Type “What is my IP address” or “Find my IP” into the search bar.
  3. Search engines like Google show your public IP at the top of the results.
  4. 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

  1. Press Windows + R to open the Run box.
  2. Type cmd and press Enter.
  3. 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

Understanding IPv4 vs. IPv6 Addresses

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.

Related articles