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
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.
Click Start → Settings → Network and Internet.
Click Ethernet or WiFi whichever one you’re using.
Click the adapter listed in the right-side.
Open Task Manager (Ctrl + Shift + Esc), select Performance tab and click Ethernet.
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.
Using the Nslookup command
Open a Command Prompt window and type the following:
nslookup myip.opendns.com resolver1.opendns.com
Run these two commands:
$wc = new-object System.Net.WebClient $wc.DownloadString("http://myexternalip.com/raw")
Using Windows Script
Copy the files to Notepad, and save the file as
Dim o : Set o = CreateObject("MSXML2.XMLHTTP") o.open "GET", "http://ifconfig.me/ip", False o.send WScript.echo o.responseText
Double-click the file to run it to display your external/public IP address.
You can even launch it from the console, by running
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!
About the author
Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.