By nekodroid
So I’ve used discourse diagonostic tool and here’s the error :
==================== MAIL TEST ====================
For a robust test, get an address from http://www.mail-tester.com/
Or just send a test message to yourself.
Email address for mail test? ('n' to skip) [myemailadress@gmail.com]:
Sending mail to apertureproject.me@gmail.com. . .
Testing sending to myemailadress@gmail.com using postmaster@mg.mydomain.com:mailgunstmpkey@stmp.eu.mailgun.org:2525.
======================================== ERROR ========================================
Connection to port 2525 failed.
====================================== SOLUTION =======================================
The most likely problem is that your server has outgoing SMTP traffic blocked.
If you are using a service like Mailgun or Sendgrid, try using port 2525.
=======================================================================================
(I’ve removed all sensitive info here)
So it says that ports are closed. I’ve tried opening ports on the firewall typing ‘ufw allow 2525’ (ports numbers) but I still have these errors.
Any help is greatly appreciated
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!
Hello,
What I could suggest here is, make sure that it is not something at Mailgun’s end, run a telnet test to the port quiz site:
telnet portquiz.net 2525
If you are able to connect then maybe Mailgun are rejecting the connections from your droplet, I could suggest reloading your UFW service and then check the status
sudo ufw reload
sudo ufw status
Hope that this helps! Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.