Soemthing wrong w/ urllib module or something.

Tim Golden mail at timgolden.me.uk
Mon Sep 3 09:27:02 EDT 2007


[Tim Golden]
 >> To do the obvious, can you open a socket connection
 >> to the domain you're using?
 >>
 >> <code>
 >> from socket import socket
 >> socket ().connect (("DOMAINHERE", 80))
 >>
 >> </code>
 >>
 >> or does it give you the same error?

[Lamonte Harris]
> Yeah I basically got the same error.
> 
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "<string>", line 1, in connect
> socket.error: (10053, 'Software caused connection abort')

OK, then *something's* blocking access to that host (at least)
on port 80. Can you browse the web normally from this machine?
In particular, can you browse to that site ("DOMAINHERE")?

TJG



More information about the Python-list mailing list