小编use*_*327的帖子

常量"System.ServiceModel.EndpointNotFoundException:没有端点侦听<服务URL>"错误

我有许多WCF服务,IIS在专用服务器上运行.这些服务有他们的客户.总而言之,它可以工作,但每当我在客户端级别查找日志时,我通常会看到以下类型的错误:

System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at <Service URL> that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. 

---> System.Net.WebException: Unable to connect to the remote server 
---> System.Net.Sockets.SocketException: A socket operation was attempted to an unreachable network <Service IP>:80
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 …
Run Code Online (Sandbox Code Playgroud)

wcf endpoint wcf-endpoint

5
推荐指数
1
解决办法
8017
查看次数

标签 统计

endpoint ×1

wcf ×1

wcf-endpoint ×1