8 days ago
Hi Railway Support Team,
I hope this message finds you well. I'm reaching out on behalf of I4-Matrix regarding an outbound network connectivity issue affecting our deployed services.
Issue Summary
Our backend services are unable to establish outbound SMTP connections to Gmail's mail server. All connection attempts are timing out.
- SMTP Host:smtp.gmail.com
- Port: 587 (STARTTLS)
- Protocol: TCP
- Purpose: Transactional email delivery (account verification, notifications, password resets)
What We've Tried
- Verified credentials work correctly in a local environment
- Tested ports 25, 465, and 587 — all timing out from Railway's environment
- Confirmed the issue is network-level, not application-level
Request
Could you please allowlist outbound TCP connections to:
> smtp.gmail.com on port 587
Alternatively, if there is a recommended way to enable outbound SMTP on Railway, or if this requires a specific plan upgrade, please let us know and we'll act accordingly.
Our services are otherwise running healthy — this is the only blocker for our email functionality.
Thank you for your time and support. Please let us know if you need any additional details such as our project ID or service names.
Best regards,
I4-Matrix Team
1 Replies
8 days ago
Your workspace is on the Hobby plan, which does not support outbound SMTP. This is not a per-host allowlisting issue - SMTP (ports 25, 465, 587) is fully disabled on Free, Trial, and Hobby plans to prevent abuse. To use SMTP, you would need to upgrade to the Pro plan. Alternatively, you can use a transactional email service that communicates over HTTPS instead of SMTP, which works on all plans. Recommended options include Resend, SendGrid, Mailgun, and Postmark. More details are available in our outbound networking docs.
Status changed to Awaiting User Response Railway • 8 days ago
a day ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 1 day ago