smtplib (111, 'Connection refused')

phansen peter at
Fri Sep 17 22:17:47 CEST 2004

Josh Close wrote:
> I'm using the smtplib module and I keep getting this error: (111,
> 'Connection refused') What could be causing this? I've tried it from a
> different computer and it seems to work, but not from this specific
> server. If port 25 was blocked for some reason, would that give me a
> 'connection refused' error?

Please show a snippet of the code you are using, so we can
see what you are trying to do here.

More information about the Python-list mailing list