urllib.urlretrieve("http://free.bsdshell.net/")

Toby Dickenson mbel44 at dial.pipex.net
Tue Jan 23 08:29:13 EST 2001


Oleg Broytmann <phd at phd.pp.ru> wrote:

>Hello!
>
>   Strange problem with urllib: urlretrieve("http://free.bsdshell.net/")
>always reports "Connection refused". Always:
>
>Traceback (innermost last):

>  File "/usr/local/lib/python1.5/httplib.py", line 79, in connect
>    self.sock.connect(host, port)
>IOError: [Errno socket error] (111, 'Connection refused')
>
>   But I always can connect to the site using any WWW browser.

Is your browser using a proxy that python doesnt know about?

Toby Dickenson
tdickenson at geminidataloggers.com



More information about the Python-list mailing list