Server Error in '/' Application.

由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。 107.148.151.139:80

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Sockets.SocketException: 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。 107.148.151.139:80

Source Error:


Line 74:         httpWebRequest.Timeout = 999999;
Line 75: 
Line 76:         HttpWebResponse httpWebResponse = (HttpWebResponse)httpWebRequest.GetResponse();
Line 77:         StreamReader streamReader = new StreamReader(httpWebResponse.GetResponseStream(), Encoding.GetEncoding("GB2312"));
Line 78:         string responseContent = streamReader.ReadToEnd();

Source File: d:\英国正版365中文官网\jsc.aspx    Line: 76

Stack Trace:


[SocketException (0x274c): 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。 107.148.151.139:80]
   System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +273
   System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) +584

[WebException: Unable to connect to the remote server]
   System.Net.HttpWebRequest.GetResponse() +8446412
   ASP.jsc_aspx.GetHttp(String url) in d:\英国正版365中文官网\jsc.aspx:76
   ASP.jsc_aspx.Page_Load(Object sender, EventArgs e) in d:\英国正版365中文官网\jsc.aspx:93
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36480
Baidu
sogou