smtplib (111, 'Connection refused')

"Martin v. Löwis" martin at v.loewis.de
Fri Sep 17 15:52:23 EDT 2004


Josh Close wrote:
> I'm using the smtplib module and I keep getting this error: (111,
> 'Connection refused') What could be causing this? 

This means there is no SMTP server running on the remote system.
However, there *is* a TCP implementation (typically the operating
system) on the other end that tells you port 25 is not being
listened to.

Regards,
Martin



More information about the Python-list mailing list