Results 1 to 10 of 10
  1. #1
    Experienced User
    Overall activity: 4.0%

    Join Date
    Jun 2009
    Location
    Mars
    Posts
    1,999
    Liked
    104 times
    Points
    24,829

    What does orignal hosts file look like?

    My Windows Vista hosts file has:
    ::1 localhost

    According to this site:
    http://support.microsoft.com/kb/972034
    Vista hosts file has
    127.0.0.1 localhost
    ::1 localhost

    Does anyone know why my Vista hosts file is missing the 127.0.0.1 localhost
    ??
    This user has not enabled signature viewing, if you wish to view this user's signature please upgrade to a Raymond Gold account. THIS PORTION OF THIS QUOTE HAS BEEN CENSORED BY SOPA.

  2. #2
    Righteous Dude
    Overall activity: 32.0%

    Join Date
    Aug 2009
    Location
    Bay Area, California
    Posts
    2,311
    Liked
    1007 times
    Points
    29,410
    That's very hard to say. Some 3rd party software, cleaner, tweaker at some point. My hosts file is chock full of entries, so original was long ago lost, lol. A Guy

  3. #3
    Whiz Kid
    Overall activity: 47.0%

    Join Date
    Sep 2008
    Location
    Albania
    Posts
    1,777
    Liked
    81 times
    Points
    22,585
    Try the Miscrosoft Fix It option.

    Screw Google! Ask me!


  4. #4
    Experienced User
    Overall activity: 0%

    Join Date
    Oct 2009
    Posts
    572
    Liked
    6 times
    Points
    6,866
    Here is what my hosts file look like :
    # Copyright (c) 1993-2009 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    #
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    #
    # For example:
    #
    # 102.54.94.97 rhino.acme.com # source server
    # 38.25.63.10 x.acme.com # x client host

    # localhost name resolution is handled within DNS itself.
    # 127.0.0.1 localhost
    # ::1 localhost
    If nothing else works, open command prompt and type 'del C:\Windows'

  5. #5
    Moderator
    Overall activity: 7.0%

    Join Date
    Dec 2008
    Posts
    7,200
    Liked
    1305 times
    Points
    67,807
    @ Luffy
    I do not why but you can manually add it

    Code:
    127.0.0.1 localhost
    You can use Winapatrol (which has a built in HOSTS editor)
    Or you can locate it then edit by yourself

    http://maximumpcguides.com/windows-vista/edit-the-windows-vista-hosts-file/
    Last edited by leofelix; 12-19-2010 at 06:37 AM.
    Errare humanum est, perseverare autem diabolicum

  6. #6
    Experienced User
    Overall activity: 4.0%

    Join Date
    Jun 2009
    Location
    Mars
    Posts
    1,999
    Liked
    104 times
    Points
    24,829
    Can you tell me what is the diff between ::1 localhost and 127.0.0.1 localhost ?
    Why does Windows XP only has 127.0.0.1 localhost but vista and 7 have both ::1 localhost and 127.0.0.1 localhost ?
    Main question, do I need to have both? Because I can access to the Internet just fine with only ::1 localhost.

  7. #7
    Moderator
    Overall activity: 7.0%

    Join Date
    Dec 2008
    Posts
    7,200
    Liked
    1305 times
    Points
    67,807
    Quote Originally Posted by luffy View Post
    Can you tell me what is the diff between ::1 localhost and 127.0.0.1 localhost ?
    Why does Windows XP only has 127.0.0.1 localhost but vista and 7 have both ::1 localhost and 127.0.0.1 localhost ?
    Main question, do I need to have both? Because I can access to the Internet just fine with only ::1 localhost.
    I believe only Microsoft knows:-)

  8. #8
    *nix Technical Support
    Overall activity: 0%

    Join Date
    Jan 2009
    Location
    /home/hellnoire
    Posts
    9,850
    Liked
    320 times
    Points
    27,014
    The difference between them is 127.0.0.1 and ::1 is that ::1 is IPv6, the other is IPv4, if I remember correctly.
    pacman -Syyu life not found in sync db

  9. #9
    Experienced User
    Overall activity: 0%

    Join Date
    May 2010
    Posts
    3,271
    Liked
    155 times
    Points
    8,049
    Quote Originally Posted by luffy View Post
    Can you tell me what is the diff between ::1 localhost and 127.0.0.1 localhost ?
    Why does Windows XP only has 127.0.0.1 localhost but vista and 7 have both ::1 localhost and 127.0.0.1 localhost ?
    Main question, do I need to have both? Because I can access to the Internet just fine with only ::1 localhost.
    hellnoire is right. ::1 localhost represent IPv6 loopback address, while 127.0.0.1 localhost represent IPv4 loopback address. These entries are present in Windows Vista and Windows 7 host file because network stack of Windows Vista (later inherited to Windows 7) were written from scratch to add new features/optimization and IPv6 generic support, while for Windows XP, MS added support of IPv6 in SP3 and also has released an update to further optimize IPv6.
    Windows 7 SP1 Ultimate x86 + KIS 2011 (11.0.2.556 b.a.c.d) + Sandboxie Paid (3.54) + Deep Freeze Standard (7.20.020.3398)

  10. #10
    The Specialist *
    Overall activity: 36.0%

    Join Date
    May 2010
    Location
    KOLKATA
    Posts
    5,433
    Liked
    900 times
    Points
    51,210
    Yeap Paul . @luffy http://forum.raymond.cc/network/2150...-64bit-os.html .
    I don't need to know everything, I just need to know where to find it, when I need it.

 

 

Similar Threads

  1. Using a large HOSTS file on a home network
    By jelson in forum General Forum
    Replies: 6
  2. News Server or File Hosts????
    By narender in forum General Forum
    Replies: 2
  3. Replies: 7
  4. Blocking Unwanted Parasites with a Hosts File
    By smalldog in forum Software
    Replies: 0
  5. Spybot search and Destory Changing HOSTS File
    By blackrose in forum General Forum
    Replies: 6

Tags for this Thread

All times are GMT +8. The time now is 08:25 PM.