Outbound SMTP Connection Timeout on Free Tier

Hello,
My Node.js application (Service ID: srv-d386h9er433s73fa0b60) is unable to connect to any external SMTP server. I believe there may be a network or firewall issue preventing outbound connections on SMTP ports from my free-tier service.
Here is the evidence I have gathered:
I first configured the application to use my hosting provider’s email, Hostinger (smtp.hostinger.com on port 465). All connection attempts from the live Render service failed with an ETIMEDOUT error.
To prove this was not a provider-specific issue, I switched to a completely different, dedicated email service, Brevo (smtp-relay.brevo.com on port 587). The connection still fails with the exact same error.
The application works perfectly in my local development environment, so I know my credentials and code are correct.
Here is the exact error log from my Render service when trying to connect to Brevo, which is identical to the error I received with Hostinger:

Code:

Error sending verification code: Error: Connection timeout
    at SMTPConnection._formatError (/opt/render/project/src/backend/node_modules/nodemailer/lib/smtp-connection/index.js:809:19)
    at SMTPConnection._onError (/opt/render/project/src/backend/node_modules/nodemailer/lib/smtp-connection/index.js:795:20)
    at Timeout.<anonymous> (/opt/render/project/src/backend/node_modules/nodemailer/lib/smtp-connection/index.js:237:22)
    at listOnTimeout (node:internal/timers:581:17)
    at process.processTimers (node:internal/timers:519:7) {
  code: 'ETIMEDOUT',
  command: 'CONN'
}

Since the connection fails with a timeout to two different, reliable providers, this strongly suggests a network-level firewall on the Render platform is blocking outbound connections on ports 465 and 587 for my free-tier service.
Could you please investigate the outbound network policies for my container and confirm if these ports are open?
Thank you.

This is expected behaviour now. Free service access to these ports was removed last month - see Free web services will no longer allow outbound traffic to SMTP ports | Render Changelog

See also Deploy for Free – Render Docs.

1 Like

Hi John,
I have same issue above on Render server

so Should I upgrade my render account?

I am looking forward to hearing you soon.

Thanks
Julian Braun

Yes, to prevent blocks, you should upgrade the specific web service to use a paid instance type, the minimum cost this will be is $7 per month.

1 Like

Hi john .
After upgrading my Render account, are you sure SMTP port 587 doesn’t stop working?
As am getting this error below:
Eroor: [2025-10-08 12:32:19 +0000] [7] [CRITICAL] WORKER TIMEOUT (pid:27) [2025-10-08 12:32:19 +0000] [27] [ERROR] Error handling request /api/send/ Traceback (most recent call last): File “/usr/local/lib/python3.8/site-packages/gunicorn/workers/sync.py”, line 134, in handle self.handle_request(listener, req, client, addr)

Please tell me whether this error is gone or not after upgrading?
I am looking forward to hearing you soon.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.