Merchello Notification throwing this error: No connection could be made because the target machine actively refused it

Merchello Notification throwing this error: No connection could be made because the target machine actively refused it

当 Merchello 尝试发送电子邮件通知时,我遇到了这个异常:

目标机器主动拒绝,无法连接

我正在使用发送网格,我已经尝试了与我在 Local 上使用的完全相同的凭据,并且它在本地运行良好。

我确定这与服务器有关,到目前为止我已经尝试过:

更多形式的堆栈跟踪:

 System.Net.WebException: Unable to connect to the remote server ---> 
 System.Net.Sockets.SocketException: No connection could be made because the 
 target machine actively refused it

有什么想法吗?谢谢

您的 IIS 绑定中可能为其他一些端口配置了相同的端口

您也可以在命令提示符的管理员模式下通过以下命令查看

C:>netstat -anb

我将端口更改为 25 并且成功了,不知道为什么要求我使用 587。