Hostname Resolution not working in Explorer

Richard Jones rjones at ekit-inc.com
Thu Apr 18 00:44:08 EDT 2002


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 :)


    Richard






More information about the Python-list mailing list