C# WCF服务(NetTcpBinding)在负载平衡环境中工作不正常
我在负载平衡环境中运行WCF windows应用程序时遇到错误C# WCF服务(NetTcpBinding)在负载平衡环境中工作不正常,c#,wcf,C#,Wcf,我在负载平衡环境中运行WCF windows应用程序时遇到错误 登录错误 无法连接到网络。tcp://192.168.1.63:7000/FFSecuritySVC. 连接尝试持续的时间跨度为00:00:21.0609450。TCP错误代码10060:连接尝试失败,因为连接方在一段时间后没有正确响应,或者建立的连接失败,因为连接的主机未能响应192.168.1.63:7000。 好啊 我使用“nettcpbinding”方法进行绑定,代码如下 <behaviors> <s
登录错误 无法连接到网络。tcp://192.168.1.63:7000/FFSecuritySVC. 连接尝试持续的时间跨度为00:00:21.0609450。TCP错误代码10060:连接尝试失败,因为连接方在一段时间后没有正确响应,或者建立的连接失败,因为连接的主机未能响应192.168.1.63:7000。 好啊 我使用“nettcpbinding”方法进行绑定,代码如下
<behaviors>
<serviceBehaviors>
<behavior name="CommonBehavior"/>
</serviceBehaviors>
<endpointBehaviors>
<behavior name="CommonBehavior">
<dataContractSerializer maxItemsInObjectGraph="65536000" />
</behavior>
</endpointBehaviors>
</behaviors>
<bindings>
<netTcpBinding>
<binding name="netTcpBinding" maxReceivedMessageSize="9000000" transferMode="Buffered" listenBacklog="500" maxBufferPoolSize="9000000" maxBufferSize="9000000" maxConnections="500"
closeTimeout="02:02:00" openTimeout="02:02:00" receiveTimeout="02:02:00" sendTimeout="02:02:00">
<readerQuotas maxDepth="32" maxStringContentLength="9000000" maxArrayLength="9000000" maxBytesPerRead="9000000" maxNameTableCharCount="9000000" />
<reliableSession ordered="true" inactivityTimeout="02:02:00"
enabled="false" />
<security mode="None">
<transport clientCredentialType="Windows" protectionLevel="None" />
<message clientCredentialType="Windows" />
</security>
</binding>
</netTcpBinding>
</bindings>
请为我提供解决该问题的解决方案………您的服务在哪里?如果您尝试在网上浏览元数据,会发生什么。tcp://192.168.1.63:7000/FFSecuritySVC?wsdl (启用mex TCP点)我的服务是主机192.168.1.63服务器。。。客户端位于另一个LAN负载平衡服务器上。那个服务器是另一个。我的意思是:它是自托管的,还是IIS托管的,还是Windows服务托管的。你的mex点怎么了?它有效吗?这是Windows服务托管的。