2 months ago
Hello Team,
I am reaching out to request assistance regarding an outbound connectivity issue I am experiencing with one of my services.
The Situation: I have a NestJS application deployed in the us-east4 region. The application is trying to connect to smtp.gmail.com on port 587 (STARTTLS) to send system notifications. However, the connection consistently fails with a "Connection Timeout" error.
Troubleshooting performed:
Confirmed that the configuration works perfectly in my local environment.
Implemented a TCP socket test using
Bun.connectwithin the same Railway environment, which also resulted in a timeout (502/499 errors after 30+ seconds).Verified that I am using a valid Google App Password and correct SMTP settings (Port 587, Secure: false).
Tried both ports 587 and 465, with the same timeout result.
My Request: Could you please verify if there are any egress (outbound) restrictions for SMTP traffic on my account or within the us-east4 region? Additionally, I would like to know if there is a recommended configuration or an outbound proxy I should use to reach Google's SMTP servers reliably from your infrastructure.
0 Replies
Status changed to Awaiting User Response Railway • 2 months ago