View Single Post
  #11  
Old 02-02-2013, 07:17 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

localhost generally works and is equivalent to 127.0.0.1, however it can fail if there are invalid or incomplete entries in your hosts file.

You don't generally need anything in your hosts file in order to resolve localhost as it is hadled internally by dns, but if for instance you have an entry for the ipv6 address but not the ipv4 address it can break things.
Reply With Quote