7 days ago
My FastAPI backend is trying to connect to my SMTP server
(cloud-f16b5d.managed-vps.net) on port 587 but getting a
TimeoutError on Railway while it works fine locally and
on SMTP testing tools.
Error:
aiosmtplib.errors.SMTPConnectError: Error connecting to
cloud-f16b5d.managed-vps.net on port 587: TimeoutError
Please unblock outbound port 587 for my project so I can
send emails via SMTP.
1 Replies
7 days ago
Your workspace is on the Hobby plan, and outbound SMTP (ports 25, 465, 587) is disabled on Free, Trial, and Hobby plans. SMTP is only available on the Pro plan and above. If you'd like to stay on Hobby, you can use a transactional email service with an HTTPS API such as Resend, SendGrid, or Postmark. If you upgrade to Pro, redeploy your service afterward for SMTP access to take effect. More details are in our outbound networking docs.
Status changed to Awaiting User Response Railway • 7 days ago
Status changed to Solved aajiz0 • 6 days ago