Connection refused - connect(2)

I am using aws server, and namecheap for domain and email provided through namecheap service.
I get below error and not sure what is missing.

I am using SMTP_PORT = 587, I tried with 25 as well.
So here’s the problem which was occurring, I had installed and set it up and could register my account on discourse, but at the end when it asks me to verify my email I never get an email in my inbox.
So I tried a few small fixes by searching this discourse forum previous errors hence I ended up with the above port.
Not sure what is the solution on this, if any pointers are given that would be really helpful.

======================================== ERROR ========================================

Connection refused - connect(2) for

====================================== SOLUTION =======================================

Those are likely blocked, though I’m not sure whether it’s at the OS level, the network permissions level, or further up at AWS. You might try port 2525. Most services support that for just this reason. I can’t connect to that IP either, and I would expect namecheap to provide you with a hostname, not an IP address, so I suspect that you need to update the SMTP HOST.

How do I find the SMTP address for namecheap, because they say it to be localhost, so I maybe missing something ?

I tried to go and check and add my email provided and query for MX field, I get the below results MX 1800 10 MX 1800 10

I suspect my SMTP address is the mx*, but confused as to if it is mx1 or mx2 ?

That does not sound correct. What kind of service did you buy from them?
I’m afraid you’ll need to contact Namecheap for this, this is not a Discourse issue. is the IP address of your forum, not the IP address for your SMTP service.

1 Like

Bought a domain and a private email from these folks ?
Any other email provider you can suggest which is more simpler to configure and works with discourse ?
Although the domain will be the same from namecheap.