积极答复者
wcf 从SERVER2008迁移到2003的10061错误

问题
-
请教下,有哪位碰到过WCF自宿主程序在2003时碰到10061的错误吗?
很晕,在08运行正常,现在迁移到03有这个问题,不知道怎么配置03下面是一个老外的帖子,也是相同的故障,本人E文不好,哪位帮忙看看,iis我已经删除了,防火墙都关闭了,TCP error code 10061: No connection could be made because the target machine actively refused ithttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/3d557a46-3b48-49e6-bf42-eb0a52ae9b8f/
答案
-
On what port and protocol the service is listening? 1. Usually, this error indicates that firewall is blocking the request. 2. This error can also happen if the srevice is hosted in IIS with WAS on protocol which is not enabled. In this case you will have to enable protocol in "Windows Features" for machine and in site bindings of the service.
意见是说可能的愿意
1.防火墙阻止请求
2.如果IIS使用了WAS,但是可能没有启用对应的协议,此时你需要启用这个对应的协议即可。
Frank Xu Lei--谦卑若愚,好学若饥
【老徐的网站】:http://www.frankxulei.com/- 已标记为答案 Peter pi - MSFTModerator 2011年11月11日 8:51
-
很感谢您的回复!
现在我已经关掉防火墙和IIS了,不知道怎么回事啊!
测试的是万网云主机,不清楚是不是云里面的问题,
自宿主的WCF程序可以在03跑吧?
可以的,WCF运行只和.NET版本有关系,3.0以上即可。跟操作系统没直接的关系。属于托管代码。
Frank Xu Lei--谦卑若愚,好学若饥
【老徐的网站】:http://www.frankxulei.com/- 已标记为答案 Peter pi - MSFTModerator 2011年11月11日 8:52
全部回复
-
On what port and protocol the service is listening? 1. Usually, this error indicates that firewall is blocking the request. 2. This error can also happen if the srevice is hosted in IIS with WAS on protocol which is not enabled. In this case you will have to enable protocol in "Windows Features" for machine and in site bindings of the service.
意见是说可能的愿意
1.防火墙阻止请求
2.如果IIS使用了WAS,但是可能没有启用对应的协议,此时你需要启用这个对应的协议即可。
Frank Xu Lei--谦卑若愚,好学若饥
【老徐的网站】:http://www.frankxulei.com/- 已标记为答案 Peter pi - MSFTModerator 2011年11月11日 8:51
-
很感谢您的回复!
现在我已经关掉防火墙和IIS了,不知道怎么回事啊!
测试的是万网云主机,不清楚是不是云里面的问题,
自宿主的WCF程序可以在03跑吧?
可以的,WCF运行只和.NET版本有关系,3.0以上即可。跟操作系统没直接的关系。属于托管代码。
Frank Xu Lei--谦卑若愚,好学若饥
【老徐的网站】:http://www.frankxulei.com/- 已标记为答案 Peter pi - MSFTModerator 2011年11月11日 8:52