Restaurer fichier Host

Statut
N'est pas ouverte pour d'autres réponses.

[ KL3R ]

#belgium
Salut,

Je suis sous Vista Edition Familiale Premium 32Bits et j'aimerais restaurer mon fichier Host comme il était d'origine...

Si quelqu'un peut me faire un copier/coller du sien (Vista) ou un moyen de le restaurer avec les entrées d'origine...

Merci :)
 

Jereck

Α & Ω
Staff
D'origine, il n'y a qu'une seule association : 127.0.0.1 <-> localhost
 
1er
OP
[ KL3R ]

[ KL3R ]

#belgium
Merci :)

J'ai lu il me semble qu'il doit y avoir aussi ::1 localhost

Qu'en est-il ?
 

Jereck

Α & Ω
Staff
127.0.0.1 -> IPv4
::1 -> IPv6
 
1er
OP
[ KL3R ]

[ KL3R ]

#belgium
Ah oki et comment je remets ça ?

::1 localhost ? Combien d'espace entre le chiffre 1 et localhost ?
 

Jereck

Α & Ω
Staff
un suffit je pense, ou une tabulation, ou 100, etc. ...
 
1er
OP
[ KL3R ]

[ KL3R ]

#belgium
Merci Jereck, peux-tu me confirmer si ceci est donc bon, si le fichier est bien "par défaut" (pour Vista) :


# Copyright (c) 1993-2006 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

127.0.0.1 localhost
::1 localhost



L'espace est d'une tabulation.
 

leval

Gnagnagna
vla le mien par defaut sous vista

# Copyright (c) 1993-2006 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
127.0.0.1 localhost
 
1er
OP
[ KL3R ]

[ KL3R ]

#belgium
Donc c'est bon :)

Vu que le ::1 localhost est pour l'ipv6.

Merci !
 
Statut
N'est pas ouverte pour d'autres réponses.
Haut