My Node.js service is failing to connect to smtp.gmail.com
studylinkcareer
PROOP

2 months ago

My Node.js service is failing to connect to smtp.gmail.com with error: connect ENETUNREACH 2404:6800:4003:c11::6c:465 - Local (:::0). This is an IPv6 connection attempt but my service requires IPv4. This started after a redeploy today. Can you force IPv4 for outbound connections on my service or advise how to fix this at the infrastructure level? Project: Lead Qualification, Service: StudyLinkLeadQualification."

Solved

1 Replies

Railway
BOT

2 months ago

We do not support outbound IPv6, which is why the connection to the IPv6 address fails with ENETUNREACH as documented here. However, even if your application resolves to an IPv4 address, outbound SMTP (port 465) is blocked on the Hobby plan. SMTP is only available on the Pro plan and above. For the Hobby plan, you would need to use a transactional email service with an HTTPS API such as Resend, SendGrid, or Mailgun, as described in our outbound networking docs.


Status changed to Awaiting User Response Railway about 2 months ago


Railway
BOT

a month 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 about 1 month ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...