2016-11-15 28 views
0

我們爲我們的應用程序開發了幾個WCF服務。通過我們的網絡應用程序,我們可以通過個人服務器達到這些終點。當我們試圖通過我們得到以下錯誤負載均衡,以達到他們:負載均衡的WCF服務不可用 - 作爲Windows服務託管,並通過TCP監聽443

There was no endpoint listening at net.tcp://<IP>:443/<Service API> that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. 

Server stack trace: 
    at System.ServiceModel.Channels.ConnectionUpgradeHelper.DecodeFramingFault(ClientFramingDecoder decoder, IConnection connection, Uri via, String contentType, TimeoutHelper& timeoutHelper) 
    at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreamble(IConnection connection, ArraySegment`1 preamble, TimeoutHelper& timeoutHelper) 
    at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConnectionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper& timeoutHelper) 
    at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout) 
    at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout) 
    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) 
    at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout) 
    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) 
    at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout) 
    at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade) 
    at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout) 
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) 
    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) 
    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) 

其他信息:

  • WCF服務託管的Windows服務
  • WCF服務的443端口
  • TCP上市是網絡和服務之間的通信協議

請讓我知道如果我可以提供任何其他信息。

任何幫助將非常感激。

回答

0

我有同樣的問題。我設法通過在服務器端添加該到我的配置文件來解決這個問題:

<system.net> 
<connectionManagement> 
    <add address="*" maxconnection="500" /> 
</connectionManagement> 

的默認值是2。你可以閱讀更多相關信息:scale up WCF service