Click here to Skip to main content
15,039,149 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
By using command prompt of windows XP,

How to finout IP of another compuer in LAN by using the Hostname of that computer
Аslam Iqbal 27-Mar-11 13:54pm
Are you confusing to accept the answer of Anurag Gupta?
@nuraGGupta@ 28-Mar-11 12:02pm
@Aslam : My dear fried is not Nura Gupta, its Anurag Gupta. And thanks for the vote. :)

1 solution

just use ping <hostname> command
For example:


this will show you the ip for google, and in the same way it can be done for any hostname.
Аslam Iqbal 27-Mar-11 13:53pm
very nice. 5
Sergey Alexandrovich Kryukov 27-Mar-11 15:37pm
Simple. A 5.

There are also the ways to do it programmatically, but I don't want to discuss it, because OP did not specify platform/language/technology of interest.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900