I found out why. I set a proxy in IE and I didn't know ActiveState Python use IE proxy! > 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().