无法连接到远程服务器 [英] Unable to connect to the remote server

查看:1140
本文介绍了无法连接到远程服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

发现了System.Net.WebException

HResult = -2146233079

消息=无法连接到远程服务器

来源=系统

StackTrace:

在System.Net.WebClient.DownloadDataInternal(Uri地址,WebRequest和请求)

在System.Net.WebClient.DownloadString( Uri地址)

at System.Net.WebClient.DownloadString(String address)

at GoogleTranslateDesk_V_1._0.frmTranslate.TranslateGoogle(String text,String fromLang,String toLang)in c:\ Users\admin \Downloads; \\ GoogleTranslateDesk_V_1.0_Source \GoogleTranslateDesk V 1.0 \GoogleTranslateDesk V 1.0 \frmTranslate.cs:第61行
InnerException:System.Net.Sockets。 SocketException

HResult = -2147467259

消息=连接尝试失败,因为连接方在一段时间后没有正确响应,或者由于已连接而建立连接失败主机未能回复192.168.84.75:3128

来源=系统

ErrorCode = 10060

NativeErrorCode = 10060

StackTrace:

在System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot,SocketAddress socketAddress)

在System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure,Socket s4 ,Socket s6,Socket&socket,IPAddress&address,ConnectSocketState state,IAsyncResult asyncResult,Exception&exception)

InnerException:

System.Net.WebException was caught
HResult=-2146233079
Message=Unable to connect to the remote server
Source=System
StackTrace:
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at System.Net.WebClient.DownloadString(String address)
at GoogleTranslateDesk_V_1._0.frmTranslate.TranslateGoogle(String text, String fromLang, String toLang) in c:\Users\admin\Downloads\GoogleTranslateDesk_V_1.0_Source\GoogleTranslateDesk V 1.0\GoogleTranslateDesk V 1.0\frmTranslate.cs:line 61
InnerException: System.Net.Sockets.SocketException
HResult=-2147467259
Message=A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.84.75:3128
Source=System
ErrorCode=10060
NativeErrorCode=10060
StackTrace:
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)
InnerException:

推荐答案

如何修复系统套接字异常 [ ^ ]



请检查以上链接,如果这是相关的。我希望这会对你有所帮助。

谢谢
How to fix System Socket Exception[^]

Please check the above link, if this is related somehow. I hope this helps you.
Thanks


这篇关于无法连接到远程服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆