并没有端点在网络上侦听.tcp://url可以接受这个消息的.这通常是由不正确的地址或SOAP操作引起的



我有一个使用net.tcp协议的WCF程序。它托管在IIS上,过去工作得很好,但最近(我想在一些windows更新之后(,客户端在尝试连接服务器时报告了以下错误消息:

Error occurs during register duplex connect service. Error msg: There was no endpoint listening at net.tcp://localhost/xxx/Duplex.svc/tcp that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

我可以打开";http://localhost/xxx/Duplex.svc"在web浏览器中成功。事件日志中没有记录错误,net.tcp协议已添加到我的web应用程序中,net.tcp绑定已添加到默认网站中。net.tcp侦听器适配器服务正在运行。

我能为这个问题做些什么吗?最近是否有任何windows更新会导致此问题?欢迎任何建议。

下面是我的服务器配置

<system.serviceModel>
<bindings>
<netTcpBinding>
<binding name="tcpCon" closeTimeout="00:03:00" openTimeout="00:03:00" sendTimeout="00:03:00" listenBacklog="2147483647" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxConnections="2147483647" maxReceivedMessageSize="2147483647">
<readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
<security mode="None" />
</binding>
</netTcpBinding>
</bindings>
<services>
<service behaviorConfiguration="ServiceBe" name="UpdateService.Duplex">
<endpoint address="tcp" behaviorConfiguration="EndpointBe" binding="netTcpBinding" bindingConfiguration="tcpCon" name="tcp" contract="UpdateServiceInterface.IDuplex" />
<endpoint kind="udpDiscoveryEndpoint" />
</service>
</services>
<behaviors>
<endpointBehaviors>
<behavior name="EndpointBe">
<endpointDiscovery>
<scopes>
<add scope="http://xxxxxx" />
</scopes>
</endpointDiscovery>
</behavior>
</endpointBehaviors>
<serviceBehaviors>
<behavior name="ServiceBe">
<serviceDiscovery />
<serviceMetadata httpGetEnabled="false" />
<serviceDebug includeExceptionDetailInFaults="true" />
<serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentSessions="2147483647" maxConcurrentInstances="2147483647" />
<dataContractSerializer maxItemsInObjectGraph="2147483647" />
</behavior>
</serviceBehaviors>
</behaviors>
<protocolMapping>
<add binding="basicHttpsBinding" scheme="https" />
</protocolMapping>
</system.serviceModel>
<system.webServer>

终于找到了根本原因。默认的NetTcp端口808被"英特尔图形驱动程序"占用。请参阅此链接
我在英特尔论坛上提交了一张罚单,根据他们的回复,这个问题在最新的驱动程序版本中已经解决了。

最新更新