How to Find an IP Address in Command Prompt

How to Find an IP Address in Command Prompt

How to Find an IP Address in Command Prompt GA S REGULAR Menu Lifewire Tech for Humans Newsletter! Search Close GO Software & Apps > Windows

How to Find an IP Address in Command Prompt

Use a simple command to get your IP address on Windows

By Sandy Writtenhouse Sandy Writtenhouse Writer Kaplan University Sandy has been writing about technology since 2012. Her work has appeared on How-To Geek, MakeUseOf, iDownloadBlog, groovyPost, and many other websites. lifewire's editorial guidelines Updated on July 7, 2021 Reviewed by Jon Fisher Reviewed by Jon Fisher Wichita Technical Institute Jonathan Fisher is a CompTIA certified technologist with more than 6 years' experience writing for publications like TechNorms and Help Desk Geek. lifewire's editorial guidelines Tweet Share Email Tweet Share Email Windows The Ultimate Laptop Buying Guide In Command Prompt, enter ipconfig. You’ll see your IP address next to the IPv4 Address.In Command Prompt, enter ipconfig /all. You’ll see more detailed information in addition to your IP address. This article shows you how to use Command Prompt on your Windows computer to obtain your IP address.

Open Command Prompt on Windows

Of course, you cannot run a command in Command Prompt until you open it. There are actually several ways to do this, but these two are super easy.

Use the Start Menu Search

If you have the Search box or icon in your Task Bar, you can use it. Otherwise, click the Start button (Windows icon) and type either "cmd" or "Command Prompt," then select Command Prompt from the list.

Use the Start Menu

You can also click the Start button, scroll to and expand Windows System, and select Command Prompt.

How Can I Check My IP Address in CMD

Once you have Command Prompt open, the rest is a piece of cake. Type the following command and then press Enter: ipconfig You’ll then see a snippet of information. Your IP address is next to IPv4 Address: Wireless LAN adapter Wi-Fi: Connection-specific DNS Suffix .: lan.ourhost.net IPv6 Address....................: fd21:9dl7:c305:5:cld3:ca26:flc Temporary IPv6 Address..........: fd21:9dl7:c305:5:4d83:8a05:5ef4 Link-local IPv6 Address.........: fe80::cld3:ca36:flc:bd0c%24 IPv4 Address....................: 192.176.2.143 Subnet Mask.....................: 255.355.455.0 Default Gateway.................: 192.176.2.1 If you’d like more detailed information along with your IP address, type the following command and hit Enter: ipconfig /all This second command gives you things like your hostname, ethernet adapter details, DHCP information, and more. But to keep it simple, and if you only need your IP address, the first command above is the way to go. If you have a computer running macOS or Linux, check out our how-to for finding your IP address on those platforms. FAQ How can I find the domain name from an IP address in the Command Prompt? Use the nslookup tool to find domain name information. With the IP address handy, open the Command Prompt and enter nslookup IP address. The output will list the domain name in the Name line. How do I find a machine's name from an IP address in the Command Prompt? To find the name of a computer on your network, type nbtstat -A IP address and press Enter. Look for the machine's name under Name near the top of the result. Was this page helpful? Thanks for letting us know! Get the Latest Tech News Delivered Every Day Subscribe Tell us why! Other Not enough details Hard to understand Submit More from Lifewire What Is an IP Address? How to Open an Elevated Command Prompt in Windows How to Open Command Prompt (Windows 11, 10, 8, 7, etc.) How to Find a Windows 11 Product Key How to Access Device Manager From the Command Prompt How to Fix an IPv6 No Network Access Error How to Start System Restore From the Command Prompt How to Open Disk Management From Command Prompt How to Find Your Default Gateway IP Address How to Find Your IP Address on Windows 10 How to Find Your IP and MAC Addresses in Windows How to Change Directories in CMD (Command Prompt) How to Find a Printer's IP Address How to Use the Netstat Command How to Change DNS Servers in Windows What Are Command Prompt Codes? Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. Cookies Settings Accept All Cookies
Share:
0 comments

Comments (0)

Leave a Comment

Minimum 10 characters required

* All fields are required. Comments are moderated before appearing.

No comments yet. Be the first to comment!