How To Find Your Public IP Address on Windows PC

Every device connected to the internet has an IP (Internet Protocol) address that helps identify it online. When discussing IP addresses, there are two main types: a private IP address and a public IP address. A private IP address is assigned by your router and is used within your local network, while a public IP address is assigned by your Internet Service Provider (ISP) and is visible to websites and online services on the internet.

There are many situations where you may need to find your public IP address. For example, you might need it when setting up remote desktop access, configuring a VPN, hosting a game server, troubleshooting network issues, allowing remote connections, or sharing your network information with technical support. Fortunately, Windows provides several easy ways to find your public IP address, and you can also use web-based services to view it instantly.

Update Windows Drivers

In this guide, you will learn multiple methods to find your public IP address on a Windows PC. Follow the method that is most convenient for you.

Method 1: Find Your Public IP Address Using a Web Browser

PC running slow or unstable? Do you want to update drivers?

The easiest and fastest way to find your public IP address is by using a web browser.

Many websites can automatically detect and display your public IP address as soon as you visit them.

To find your public IP address:

  • Open your preferred web browser.
  • Visit a public IP lookup website.
  • Wait for the page to load.
  • Your public IP address will be displayed on the screen.

You can also use a search engine and type:

  • What is my IP
  • My public IP address
  • Show my IP

The search results page will often display your current public IP address immediately without requiring you to visit another website.

This method is ideal for most users because it is quick, simple, and requires no configuration changes.

Method 2: Find Your Public IP Address Using Windows PowerShell

Repair PC

Windows PowerShell can retrieve your public IP address directly from an online service.

To use PowerShell:

  • Right-click the Start button.
  • Select Windows Terminal or PowerShell.
  • Type the following command:
(Invoke-RestMethod ifconfig.me/ip)
  • Press Enter.
PC running slow or unstable? Do you want to update drivers?

PowerShell will contact the service and display your current public IP address.

Another command you can use is:

(Invoke-RestMethod ipinfo.io/ip)

After executing the command, your public IP address will appear in the terminal window.

This method is useful for advanced users and network administrators who prefer command-line tools.

Method 3: Find Your Public IP Address Using Command Prompt

Command Prompt can also display your public IP address using online DNS services.

To check your public IP address:

  • Search for Command Prompt.
  • Open the application.
  • Enter the following command:
nslookup myip.opendns.com resolver1.opendns.com
  • Press Enter.
PC running slow or unstable? Do you want to update drivers?

The command queries an external DNS service and returns your public IP address.

Look for the address shown in the response section.

This method works well when you need network information directly from the command line.

Method 4: Find Your Public IP Address Through Your Router

Most modern routers display the public IP address assigned by your ISP.

To check it through the router:

  • Open a web browser.
  • Enter your router’s gateway address.
  • Sign in using the administrator credentials.
  • Open the Internet, WAN, Network, or Status section.
  • Locate the WAN IP or Internet IP information.

The displayed WAN address is usually your public IP address.

This method is particularly useful if you want to verify the address assigned directly by your ISP.

Depending on the router manufacturer, the location of this information may vary slightly.

Method 5: Use Windows Terminal With Curl

Windows 11 includes support for the Curl command-line utility, which can retrieve your public IP address from internet services.

To use Curl:

  • Open Windows Terminal.
  • Type:
curl ifconfig.me
  • Press Enter.

Alternatively:

curl ipinfo.io/ip

The service will return your current public IP address immediately.

This method is convenient for users who frequently work with command-line tools and networking utilities.

Method 6: Check Public IP Address Using Network Diagnostic Websites

Several network diagnostic websites provide detailed information about your public IP address in addition to your location, ISP, and connection details.

To use these services:

  • Open a browser.
  • Visit a network information website.
  • Allow the page to load.
  • Review the displayed information.

Typical details shown include:

  • Public IP address
  • Internet provider
  • Approximate geographic location
  • IPv4 address
  • IPv6 address (if available)
  • Connection type

These tools are especially helpful when troubleshooting connectivity or VPN issues.

Method 7: Find Your Public IP Address Using a VPN Application

If you use a VPN service, the VPN application often displays your currently assigned public IP address.

To check it:

  • Open your VPN application.
  • Connect to a server if necessary.
  • View the connection information.
  • Locate the displayed IP address.

Keep in mind:

  • If the VPN is connected, the displayed address will usually be the VPN server’s public IP.
  • If the VPN is disconnected, websites and services will see your ISP-assigned public IP address.

This method is useful when verifying whether your VPN is functioning correctly.

Method 8: Verify Whether Your Public IP Changes

Some users want to know whether their public IP address is static or dynamic.

To test this:

  • Note your current public IP address.
  • Restart your modem or router.
  • Wait for the internet connection to return.
  • Check the public IP address again.

If the address changes, your ISP is likely assigning dynamic IP addresses.

If the address remains unchanged, you may have a static IP address or a long DHCP lease period.

Knowing whether your IP changes can be useful when configuring remote access services.

Method 9: Find Both IPv4 and IPv6 Public Addresses

Many internet providers now support IPv6 in addition to IPv4.

Some online IP lookup services display both addresses.

To check:

  • Open an IP lookup website.
  • Review the results.
  • Locate:
    • IPv4 Address
    • IPv6 Address

If an IPv6 address is not shown, your ISP or network may not currently support IPv6 connectivity.

Having both addresses can be useful when troubleshooting modern network applications and services.

Method 10: Save Your Public IP Address for Future Reference

If you frequently access remote devices or network services, it may be helpful to save your public IP address.

You can:

  • Store it in a text document.
  • Save it in a password manager note.
  • Record it in network documentation.
  • Add it to server configuration records.

Remember that dynamic public IP addresses can change periodically, so verify the address when needed.

For frequently changing addresses, you may want to consider a Dynamic DNS (DDNS) service.

Frequently Asked Questions

What is a public IP address?

A public IP address is the internet-facing address assigned to your network by your Internet Service Provider. Websites and online services use this address to communicate with your network.

Is my public IP address different from my private IP address?

Yes. A private IP address is used within your local network, while a public IP address is visible on the internet and assigned by your ISP.

Can my public IP address change?

Yes. Most residential internet connections use dynamic public IP addresses that may change periodically. Some ISPs offer static IP addresses for an additional fee.

Is it safe to share my public IP address?

Generally, sharing a public IP address is not inherently dangerous because websites and online services see it whenever you connect. However, avoid sharing it publicly unless necessary and ensure your network is protected by a firewall and updated security software.

Can I find my public IP address without visiting a website?

Yes. You can use PowerShell, Command Prompt, Windows Terminal, or your router’s administration page to retrieve your public IP address.

Final Thoughts

Finding your public IP address on a Windows PC is a simple task that can be completed in several different ways. The easiest method is to use a web browser and visit an IP lookup service, but Windows also provides command-line tools such as PowerShell, Command Prompt, and Curl for users who prefer built-in solutions. Additionally, your router’s administration interface can display the public IP address assigned by your ISP.

Whether you need your public IP address for remote access, troubleshooting, VPN verification, gaming servers, or network administration, the methods covered in this guide provide reliable ways to obtain the information quickly. By understanding how to locate and verify your public IP address, you can manage your network more effectively and resolve connectivity issues with greater confidence on Windows 11 and other modern Windows versions.

PC running slow or unstable? Do you want to update drivers?

GeeksDigit.Com
Logo