Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Localhost 127.0.0.1 and lmhosts
Message
 
 
À
24/07/2001 16:27:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00534603
Message ID:
00534660
Vues:
14
>Larry,
>
>Thanks.
>
>I have created a lmhosts file which only one line '127.0.0.1 localhost' and put in " c:\winnt\system32\drivers\etc\ and restart computer. It didn't work.
>
>I have another computer. It uses window 2000 professional too. There is no lmhosts file in that computer. But http://localhost did work.
>
>I have another computer. It uses window 98. There is no hosts file in that computer. But http://localhost did work.
>
>I don't know why.
>
>
>
>Jim

Jim,
Is there a HOSTS file? It should be in the same directory. LMHOSTS is usually used for NetBIOS name translations (i.e. Windows network name). It isn't used for entries like localhost. Some systems aren't configured to use LMHOSTS. I don't believe its enabled by default. You actually have to go in to the network connection, select the Advanced button and look in the WINS tab. The "Enable LMHOSTS Lookup" checkbox needs to be checked. Is it for your system?
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform