Different Ways to Find Your IP Address in Windows

This post tells you some of the ways to find your IP Address, both the local IP assigned by your router or ICS/DHCP server running in your network, as well as your external or public IP address.


Open a Command Prompt window, type ipconfig /all and press ENTER

find your ip address

Network Connections – Control Panel

Press WinKey + R, type ncpa.cpl and press ENTER

Double click the network connection to open Properties. Click Details.

This shows the IP address assigned for that network connection.

find your ip address

Settings Page

Click Start → Settings → Network and Internet.

Click Ethernet or WiFi whichever one you’re using.

Click the adapter listed in the right-side.

find your ip address

find your ip address

Task Manager

Open Task Manager (Ctrl + Shift + Esc), select Performance tab and click Ethernet.

find your ip address

Public IP Address

A public IP address is an external IP provided by your ISP. It may either be a Static IP or Dynamic IP allocated automatically. Checking your router admin page would tell you the external IP you’ve been assigned. If you’re behind a router or NAT device, here are the methods to find your public/external IP address, other than logging in to your router.

Using Google search

Google what is my ip to find out your external or Public IP.

Find Your IP Address in Windows

Using the Nslookup command

Open a Command Prompt window and type the following:

nslookup myip.opendns.com resolver1.opendns.com

Find Your IP Address in Windows

Using PowerShell

Run these two commands:

$wc = new-object System.Net.WebClient

Find Your IP Address in Windows

Using Windows Script

Copy the files to Notepad, and save the file as find-external-ip.vbs

Dim o : Set o = CreateObject("MSXML2.XMLHTTP")
o.open "GET", "http://ifconfig.me/ip", False
WScript.echo o.responseText

Double-click the file to run it to display your external/public IP address.

Find Your IP Address in Windows

You can even launch it from the console, by running cscript.exe find-external-ip.vbs

One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded Winhelponline.com in 2005.

Leave a Reply