Hostname Resolution not working in Explorer

Peter Hansen peter at engcorp.com
Thu Apr 18 07:50:59 EDT 2002


Richard Jones wrote:
> 
> On Thu, 18 Apr 2002 14:37, Richard Jones wrote:
> > This is a common problem with Windows - it doesn't know how to resolve
> > "localhost" in some situations. Usually it coincides with you changing the
> > network configuration (unplugging a network cable or something).
> 
> Oh, I forgot to add - I believe in _some_ versions of Windows you can
> hard-code an entry in a hosts file you place in the Windows System directory
> (IIRC - it's been a while - there'll be a sample file in there I think). The
> entry would read
> 
> 127.0.0.1 localhost
> 
> just the one line in a file called "hosts" in the Windows System dir, and it
> should fix things. Well, it did once for me :)

Well, he _did_ say that he'd already added that line to the HOSTS file....

-Peter



More information about the Python-list mailing list