How to Find IP Address Using Command Prompt

The "Ping" command, accessed through a command prompt, which is usually used to test whether Internet connections are working properly, also can be used to identify the IP address associated with a domain name. Using this method may be a quicker way to accomplish this task than using one of the domain locator services such as WHOIS with your browser, although the latter will provide more information about the registered owner of the IP address.

Woman working at home
credit: clownbusiness/iStock/Getty Images

Step

Click on "Start" on the bottom left corner of your screen and then "Run." Type "cmd" in the Run box and click on "OK." A black screen will appear with a blinking cursor.

...
Ping Results

Step

Type "ping" after the cursor, followed by the name of the IP address site you are trying to locate. For example, to locate the IP address of Comcast.com, type "ping comcast.com" (omit the quotation marks) and hit enter.

Step

Make a note for future reference of the results. They will appear like this: "Pinging comcast.com [68.86.60.144] with 32 bytes of data:" followed by the results of the ping contact repeated several times.

Step

Close the command window by clicking on the small "x" in the upper right-hand corner.

Step

Verify the IP address by going to the whois.net site (see Resources) and selecting "Whois By IP address." Insert the IP address you found and click "Search."