smtplib (111, 'Connection refused')

Chris Green cmg at dok.org
Fri Sep 17 15:45:50 EDT 2004


Josh Close <narshe at gmail.com> writes:

> 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?

Yes. When in doubt, try telnet <host> <port>.
-- 
Chris Green <cmg at dok.org>
Fame may be fleeting but obscurity is forever.



More information about the Python-list mailing list