Macintosh localhost (127.0.0.1) connection problem

Timothy Jordan timothy at timothyjordan.com
Wed Aug 8 15:40:19 EDT 2001


Platform: Apple Macintosh G3
OS: Mac OS 9.0

I can't seem to find a way to use python to connect the localhost
address on a Mac.  I've been using httplib.HTTP() to connect to the
host '127.0.0.1'.  When connecting, it crashes the system.  No error is 
displayed.  In addtion, I added a hosts file through the TCP/IP control
panel containing "localhost A 127.0.0.1".  Internet Explorer can
connect to 'http://localhost' properly but python returns 'error: host not 
found'.  Any suggestions?

Thanks,
-Timothy Jordan



More information about the Python-list mailing list