Net.Tcp端口809连接问题 [英] Net.Tcp port 809 connectivity issues

查看:384
本文介绍了Net.Tcp端口809连接问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我们在IIS上部署了两个服务。两种服务都通过Net.Tcp协议进行通信。其中一项服务部署在端口808上,我可以访问此服务。另一个是新服务,我们不得不在809上移植它。我无法以
访问该服务。当我尝试使用WCF测试客户端访问服务器中的服务时,它按预期工作,但在服务器之外,该服务无法访问。以下是错误消息 


在错误中,当服务器访问服务时,似乎服务仍在查看808端口。但是在服务器中它能够识别端口。


TCP错误代码10061:由于目标机器主动拒绝它,因此无法建立连接xxx.xx.xx.xxx :808。    无法建立连接,因为目标计算机主动拒绝它xxx.xx.xx.xxx:808


错误:无法从net.tcp获取元数据://services.com/DataAccessor.svc如果这是您有权访问的Windows(R)Communication Foundation服务,请检查您是否已在指定的
启用元数据发布地址。  有关启用元数据发布的帮助,请参阅http://go.microsoft.com/fwlink/?LinkId=65455上的MSDN文档.WS-元数据交换错误    URI:net.tcp://services.com/DataAccessor.svc   元数据包含
无法解析的引用:'net.tcp://services.com/DataAccessor.svc'。    无法连接到net.tcp://services.com/DataAccessor.svc。连接尝试持续时间跨度为00:00:01.1153465。 TCP错误代码10061:无连接
,因为目标计算机主动拒绝它xxx.xx.xx.xxx:808。    没有连接,因为目标机器主动拒绝它xxx.xx.xx.xxx:808


请查看此内容并指导我。


提前致谢。







Sandeep

解决方案

Hello Sandeep, 


您是否检查过Windows防火墙以查看端口是否已打开。


Hi,

We have two services deployed on IIS. Both the services are communicated through Net.Tcp protocol. One of the service is deployed with Port 808 and I'm able to access this service. The other one is a new service and we had to port it on 809. I'm unable to access the service. When I try to access the service in the server using WCF test client it works as expected, but out of the server the service is not accessible. Below is the error message 

In the error, it seems service is still looking at 808 port when accessed out of the server. But in the server it is able to identify the port.

TCP error code 10061: No connection could be made because the target machine actively refused it xxx.xx.xx.xxx:808.     No connection could be made because the target machine actively refused it xxx.xx.xx.xxx:808

Error: Cannot obtain Metadata from net.tcp://services.com/DataAccessor.svc If this is a Windows (R) Communication Foundation service to which you have access, please check that you have enabled metadata publishing at the specified address.  For help enabling metadata publishing, please refer to the MSDN documentation at http://go.microsoft.com/fwlink/?LinkId=65455.WS-Metadata Exchange Error    URI: net.tcp://services.com/DataAccessor.svc    Metadata contains a reference that cannot be resolved: 'net.tcp://services.com/DataAccessor.svc'.    Could not connect to net.tcp://services.com/DataAccessor.svc. The connection attempt lasted for a time span of 00:00:01.1153465. TCP error code 10061: No connection could be made because the target machine actively refused it xxx.xx.xx.xxx:808.     No connection could be made because the target machine actively refused it xxx.xx.xx.xxx:808

Please review this and guide me.

Thanks in advance.



Sandeep

解决方案

Hello Sandeep, 

Have you checked windows firewall to see if the ports are open.


这篇关于Net.Tcp端口809连接问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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