Computers-Internet questions and answers

Main Navigation

'ping localhost' or 'ipconfig' , which of these 2 gives the 0K IP address.?

'ping localhost' or 'ipconfig' , which of these 2 gives the 0K IP address.?



I always thought 'ping localhost' would give me my 0K IP address, but I own establish that using 'ipconfig' not only gives a dissimilar number, but clearly states it as 'an' IP address. I am environment up my building VPN so need to understand the 0K manner please.
Thank you. Answer:


the 0K manner to find your ip address is ipconfig bid , ping bid is a troubleshooting bid that use to testing cabling of network or routing and localhost is a default line in your landlord file ( what is landlord file ? ) . landlord file is an regional title decision answer that was in your PC as coming later manner : C:\WINDOWS\system32\drivers\etc\hosts
this file is arrangement file and you can not see it usually .
so if you expectation to establish out your ip you must use ipconfig and if you expectation to find out other servers ip address you can use ping for example : ping yahoo.com will gave you yahoo's server ip address and test your alliance with this server .

ipconfig is the manner to get your ip address from the bid prompt. You can also use ipconfig /all to get more information, such as the MAC address. Ping localhost is only going to give you '127.0.0.1' on ANY instrument you do. 127.0.0.1 is the circle back address, it is only used to test your network card to assure that it is working properly.

Hi Eamonn
You will need to use IPConfig, this will give you your IP address.
hope this helps...

ipconfig is definately right. I use that all the period and it gives the right result.

Localhost will always go back 127.0.0.1. This is every computer's inner only network address, or loopback address.

Previous:Has anyone establish a free p2p prog that works with vista?  

Next:Frostwire Connection Problem?