.net 服务器上的WCF wsDualHttpBinding超时错误,但不是本地主机

.net 服务器上的WCF wsDualHttpBinding超时错误,但不是本地主机,.net,wcf,timeout,duplex,wsdualhttpbinding,.net,Wcf,Timeout,Duplex,Wsdualhttpbinding,我正在编写一个需要双工通道的WCF服务。我在本地主机上运行它没有问题,但是当部署到它要驻留的服务器上进行测试时,我得到了一个超时错误(发送到的请求操作在配置的超时(00:04:59.1049488)内没有收到回复)。我已经将超时时间增加到30分钟,但仍然在服务器上看到错误。这让我相信这不是操作超时,而是某种通信错误 我的服务配置: <system.serviceModel> <bindings> <wsDualHttpBinding>

我正在编写一个需要双工通道的WCF服务。我在本地主机上运行它没有问题,但是当部署到它要驻留的服务器上进行测试时,我得到了一个超时错误(发送到的请求操作在配置的超时(00:04:59.1049488)内没有收到回复)。我已经将超时时间增加到30分钟,但仍然在服务器上看到错误。这让我相信这不是操作超时,而是某种通信错误

我的服务配置:

<system.serviceModel>
    <bindings>
        <wsDualHttpBinding>
            <binding name="wsDualHttpBinding">
            </binding>
        </wsDualHttpBinding>
    </bindings>
    <services>
        <service name="myService.myService" behaviorConfiguration="wsDualHttpBinding">
            <endpoint address=""
                      contract="myService.IMyService"
                      binding="wsDualHttpBinding"
                      bindingConfiguration="wsDualHttpBinding" />
        </service>
    </services>
    <behaviors>
        <serviceBehaviors>
            <behavior name="wsDualHttpBinding">
                <serviceMetadata httpsGetEnabled="true" httpGetEnabled="true"/>
                <serviceDebug includeExceptionDetailInFaults="true" />
            </behavior>
        </serviceBehaviors>
    </behaviors>
    <protocolMapping>
        <add binding="wsDualHttpBinding" scheme="https" bindingConfiguration="wsDualHttpBinding" />
    </protocolMapping>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
</system.serviceModel>
<system.serviceModel>
    <bindings>
        <wsDualHttpBinding>
            <binding name="WSDualHttpBinding_IBulkFiling" openTimeout="00:05:00" sendTimeout="00:05:00" />
        </wsDualHttpBinding>
    </bindings>
    <client>
        <endpoint address="http://www.foo.com/myService.svc" binding="wsDualHttpBinding"
            bindingConfiguration="WSDualHttpBinding_IMyService" contract="myService.myService"
            name="WSDualHttpBinding_IMyService">
            <identity>
                <userPrincipalName value="host\Server02" />
            </identity>
        </endpoint>
    </client>
</system.serviceModel>

我的客户端配置:

<system.serviceModel>
    <bindings>
        <wsDualHttpBinding>
            <binding name="wsDualHttpBinding">
            </binding>
        </wsDualHttpBinding>
    </bindings>
    <services>
        <service name="myService.myService" behaviorConfiguration="wsDualHttpBinding">
            <endpoint address=""
                      contract="myService.IMyService"
                      binding="wsDualHttpBinding"
                      bindingConfiguration="wsDualHttpBinding" />
        </service>
    </services>
    <behaviors>
        <serviceBehaviors>
            <behavior name="wsDualHttpBinding">
                <serviceMetadata httpsGetEnabled="true" httpGetEnabled="true"/>
                <serviceDebug includeExceptionDetailInFaults="true" />
            </behavior>
        </serviceBehaviors>
    </behaviors>
    <protocolMapping>
        <add binding="wsDualHttpBinding" scheme="https" bindingConfiguration="wsDualHttpBinding" />
    </protocolMapping>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
</system.serviceModel>
<system.serviceModel>
    <bindings>
        <wsDualHttpBinding>
            <binding name="WSDualHttpBinding_IBulkFiling" openTimeout="00:05:00" sendTimeout="00:05:00" />
        </wsDualHttpBinding>
    </bindings>
    <client>
        <endpoint address="http://www.foo.com/myService.svc" binding="wsDualHttpBinding"
            bindingConfiguration="WSDualHttpBinding_IMyService" contract="myService.myService"
            name="WSDualHttpBinding_IMyService">
            <identity>
                <userPrincipalName value="host\Server02" />
            </identity>
        </endpoint>
    </client>
</system.serviceModel>


几天来,我一直在试图破解这个问题,但没有取得任何进展。任何帮助都将不胜感激。

防火墙可能是一个可能的问题。可能是端口阻塞了?我去看看,谢谢。