Throwing Error on Mail Setup

Hello, good day.
Please I hosted here with my smtp gmail setting. Checked everything and it worked right.
Now, i swaped to the webmail host name and I get an error.

File “/opt/render/project/python/Python-3.8.0/lib/python3.8/”, line 914, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

Despite working verywell locally

Hi there,

Render services run on Amazon EC2 and consequently, ports 25, 587 and 465 are blocked outbound from services.

To send email from your application you should use a service like MailGun, SendGrid, Postmark, etc.

Let us know if you have any further questions.


Render Support Engineer, MT (UTC-6, UTC-7 in Winter)

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