GoDaddy VPS – Can’t Connect to GoDaddy VPS SMTP Server

godaddysmtpvps

I have an ASP.Net C# web application which sends out email notification. I configured it to use the SMTP server on our VPS to send the email. But if the application is not hosted on the VPS I get an error. The innermost exception message says:

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond xxx.xxx.xx.xxx:xx

If the application is hosted on the VPS, it works just fine.

I checked if the port is open on yougetsignal.com and it says port 25 is open. But using telnet (on my local machine) it says: Could not open connection to the host, on port 25: Connect failed. I also tried portchecktool.com on the VPS and it says Your ISP/Router/Firewall is not blocking port 25.

I have no idea what to do, can you help me out?

Best Answer

As you are using this SMTP server for outgoing mail, configure authenticated Message Submission (RFC 6409) to port 587 with STARTTLS (or SMTPS to port 465). You should be able to use this from almost anywhere where the SMTP port 25 is blocked because the connection is not intended to be used for hosting a mail server. This doesn't affect SMTP connections out from your VPS.