31 August 2008

localhost resolves to localhost.com (Vista)

Posted by Mikhail Esteves under: Tips; Windows .

If localhost on Vista resolves to localhost.com, this is usually because Vista is looking at the IPv6 address for localhost and resolving to ::1. You can check this by either pinging localhost on your machine, or doing a nslookup on localhost.

To resolve this issue:

  1. Edit C:\Windows\System32\drivers\etc\hosts
  2. Uncomment the line that reads ::1 localhost

Now Flush your DNS Resolver cache by running ipconfig /flushdns a couple of times and localhost should resolve fine.



Leave a Reply

Browse

Photography

Projects

Pages

Calendar

August 2008
M T W T F S S
« Jul   Sep »
 123
45678910
11121314151617
18192021222324
25262728293031

Categories

www.flickr.com

Use OpenDNS