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

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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.
Accepted Answer
I found the issue it’s the iptables
sudo nano /etc/docker/daemon.json
{ "iptables": false }
I change it to true
{ "iptables": true}
sudo service docker restart
It was me who alter the iptables to false because I was trying to prevent Docker from bypassing UFW and directly alters iptables.
Now it’s working
Hi @larbisahli1905,
By default for new accounts, port 25 is closed. I would recommend trying with port 587 instead.
To test if port 587 is open you can run the following command:
telnet Your-IP-Address 587
If port 587 is blocked as well, I’ll recommend contacting DigitalOcean’s support to see if the port can be lifted.
You can reach the support at :
Hope that helps! - KFSys.
Hi there,
As far as I can see from the error, the outgoing connection on port 443 is failing.
I would recommend allowing that port via UFW as well as it is currently not in the list that you’ve provided.
Let me know how it goes. Regards, Bobby