urllib fails to connect

raashid bhatt raashid_hbk at yahoo.com
Wed Aug 20 13:39:45 EDT 2008


On Aug 20, 10:06 am, "jlist" <nos... at invalid.com> wrote:
> I'm running ActiveState Python 2.5 on Windows XP. It used
> to work fine. Today however I get (10061, 'Connection refused')
> for any site I try with urllib.urlopen().

May be the host is Listening on the port you are connecting to or the
host isnt availible

if u on a LAN try to ping the host first and Disable the Firewall on
Hosts Computer



More information about the Python-list mailing list