How To Find the Public IP Address of Your Network in Windows

Knowing your public IP address is essential for remote access, troubleshooting, and network configuration. This guide outlines three simple methods to retrieve it using built-in Windows tools or a browser.

Method 1: Using Command Prompt

Press Windows Key + R, type cmd, and press Enter.

In the Command Prompt window, type the following and press Enter:

nslookup myip.opendns.com resolver1.opendns.com

Your public IP address will appear in the results.

Alternatively, you can use:

curl ifconfig.me

This command will also return your public IP address directly.

Method 2: Using PowerShell

Press Windows Key + R, type powershell, and press Enter.

Enter the following command:

(Invoke-WebRequest -Uri "http://ifconfig.me/ip").Content.Trim()

PowerShell will display your public IP address.

Method 3: Using a Web Browser

  • Open any web browser.
  • Type “What is my IP address” into the search bar.
  • Your public IP will be shown at the top of the search results.
  • Alternatively, visit whatismyipaddress.com for a direct display.

These methods are quick, reliable, and require no third-party software. Whether you're troubleshooting or configuring remote access, knowing your public IP is a foundational step.

Post a Comment

Previous Post Next Post

Contact Form