2 months ago
Hello Railway Support,
I am using a Railway Hobby plan and my production service cannot send emails through Hostinger SMTP.
My SMTP configuration is:
Host: smtp.hostinger.com
Port: 465 (SSL)
Alternative port tested: 587 (TLS)
I tested the connection directly from the Railway service console.
Results:
DNS resolution:
SUCCESS
TCP connection to smtp.hostinger.com:465:
TIMEOUT
TCP connection to smtp.hostinger.com:587:
TIMEOUT
TCP connection to the same IPv4 address on port 443:
SUCCESS
The application logs show:
Email notification failed: [Errno 101] Network is unreachable
Direct socket testing from the Railway container also gives:
TimeoutError: timed out
This occurs before SMTP authentication, so the issue does not appear to be related to my SMTP username/password or Django configuration.
Could you please check whether outbound SMTP connections on ports 465 and 587 are restricted for my Hobby service?
If there is a Railway networking restriction, please confirm it and let me know if there is a way to enable outbound SMTP.
Thank you.
1 Replies
2 months ago
Outbound SMTP is only available on the Pro plan and above, while Free, Trial, and Hobby plans have SMTP disabled.
For sending emails from your application, please use a dedicated email service that provides HTTPS APIs. More information can be found in our documentation: Outbound Networking
Status changed to Awaiting User Response Railway • about 2 months ago
2 months 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 2 months ago