Forums

Gmail SMTP connection refused

My Flask web app cannot send email through Gmail SMTP.

Host: smtp.gmail.com Port: 587 Resolved IPv4: 192.178.155.109 Error: ConnectionRefusedError [Errno 111]

Could you update the Gmail SMTP firewall allowlist?

You'd need a paid account to use email service.

Thanks for the quick reply! Could you clarify which paid plan tier enables SMTP access? Is it available starting from the "Hacker" plan ($5/month), or does it require a higher tier?

Also, just to confirm: does this apply to all outbound SMTP (including third-party services like Resend or SendGrid over SMTP), or specifically to Gmail's SMTP servers?

SMTP access isn't tied to a specific plan tier, it's simply a feature available to all paid accounts.

The lowest paid plan (Developer, $10/month at the time of writing) removes the limit. Note we no longer offer the old "Hacker" plan you may have seen referenced.

Hope that helps!

I am using zoho mail configuration but getting connection error. How could I fix this?

You cannot send SMTP email from a free account.