无法建立连接,因为目标计算机主动拒绝了它208.43.91.170:25 [英] No connection could be made because the target machine actively refused it 208.43.91.170:25

查看:78
本文介绍了无法建立连接,因为目标计算机主动拒绝了它208.43.91.170:25的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了发送邮件,我编写了代码,它可以正常运行,并且已发送邮件,但是上传后显示错误---------
无法建立连接,因为目标计算机主动拒绝了它208.43.91.170:25
请任何人都可以帮助我

for sending mail i wrote code it run properly off line and mail was send but after uploading it show error---------
No connection could be made because the target machine actively refused it 208.43.91.170:25
Please anyone can help me

推荐答案

服务器可以配置为仅接受来自已知IP或IP频段的访问.您收到的消息很可能是由此引起的.我遇到了自己的错误.当我在测试环境中运行程序时,一切都很好.将解决方案部署到Web服务器时,邮件服务器拒绝接受连接,因为未明确允许Web服务器的IP.

干杯!

MRB
Servers can be configured to accept access only from known IPs or IP bands. The message you received is most likely caused by this. It was an error I encountered my self. All was good and well when I ran the program in our testing environment. When the solution was deployed to the web server the mail server refused to accept the connection because the webserver''s IP was not explicitely allowed.

Cheers!

MRB


这篇关于无法建立连接,因为目标计算机主动拒绝了它208.43.91.170:25的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆