jjang0617
HOBBYOP
22 days ago
Hello Railway Team,
I am requesting to unblock outbound SMTP ports (587 and 465) for my project.
Currently, my backend service is attempting to send email verification codes for user signup/password reset using Gmail SMTP, but the connection keeps timing out due to the default SMTP restrictions.
Here is my project information:
- Project ID: b859b100-ecbf-433c-9732-59eafe34f065
- Domain / App: starchaser-production.up.railway.app
- Issue Context: Connections to smtp.gmail.com:587 time out at the network level.
Below is the error log snippet:
[Nest] 27 - 06/15/2026, 3:51:29 PM ERROR [AllExceptionsFilter] POST /auth/send-code — Connection timeout [Nest] 27 - 06/15/2026, 3:51:29 PM ERROR [AllExceptionsFilter] Error: Connection timeout at SMTPConnection._formatError (/app/node_modules/nodemailer/lib/smtp-connection/index.js:887:19) at SMTPConnection._onError (/app/node_modules/nodemailer/lib/smtp-connection/index.js:868:20) at SMTPConnection._onConnectionError (/app/node_modules/nodemailer/lib/smtp-connection/index.js:405:18) at Timeout. (/app/node_modules/nodemailer/lib/smtp-connection/index.js:385:18)Could you please lift the outbound SMTP restrictions for this project so that my service can connect to the SMTP server?
Thank you!
1 Replies
22 days ago
Railway disallows outbound SMTP for the free & hobby plans
The Pro plan does not have this restriction
https://docs.railway.com/networking/outbound-networking#email-delivery