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?