【问题标题】:unable to know what is blocking to my application to communicate to Web service无法知道是什么阻碍了我的应用程序与 Web 服务通信
【发布时间】:2017-10-10 03:57:15
【问题描述】:

最近我们在客户端遇到的一个问题是,即使我们检查了该系统中没有设置系统代理,我们也无法与 Web 服务通信,为了克服这个问题,我们提供了一个虚拟代理 (localhost:port)并且它开始运行良好,但是在使用虚拟代理几天后,如果我们删除虚拟代理,它就无法与服务通信,然后它开始运行良好。我无法理解是什么阻碍了我与服务人员沟通。可能是什么问题,我们如何克服这个问题。此问题仅在某些系统上发生。

实际上它必须去点击这个 URL http://********-tech.in:8080/******dp/ClientVersion 但突然它开始点击这个 125.21.244.38:8080 为什么我无法得出结论。

2017-05-05 00:19:44,721 ERROR [Heartbeat Service             ] - Exception while sending heartbeat to manager.  
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 125.21.244.38:8080
   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, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at HeartbeatWSImplService.heartbeat(String probeUid, heartbeatRequest heartbeatRequest)
   at ProHance.ProbeHeartBeat.HeartBeat.timer_Elapsed(Object sender, ElapsedEventArgs e)

【问题讨论】:

    标签: c# .net proxy reverse-proxy http-proxy


    【解决方案1】:

    请在此处阅读这篇文章,他们告诉您为网络服务请求设置默认代理,他们在连接到谷歌时尝试使用代理详细信息。如果没有配置代理,您可以尝试那里提到的方法。 Set the default proxy.

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-06-26
      • 1970-01-01
      • 2017-01-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多