Report this

What is the reason for this report?

telnet to port 587 timeout

Posted on June 3, 2025

“All outbound connections to port 587 are now timing out from my droplets. Can you check whether there’s a port block or rate-limit at the network layer?”



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there,

This is likely due to DigitalOcean blocking outbound traffic on default SMTP ports like 465 and 587 to prevent abuse.

If you’re trying to send mail, the best move is to use a trusted third-party SMTP provider like Mailgun, SendGrid, or Postmark, most of them support submission over port 2525, which is open.

More details here: https://docs.digitalocean.com/support/why-is-smtp-blocked/

Also, you can reach out to DO support and ask if they can lift the SMTP block on your Droplet: https://do.co/support

Hope this helps!

\– Bobby

Heya, @triashanggodo

The SMTP ports were closed to prevent spam from being sent from DigitalOcean servers.

You can reach out to our support team and ask if the SMTP restrictions can be lifted from your droplet. Additionally, if your app can authenticate via API, you can use that to send out your emails

Regards

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.