Server Error in '/' Application.

No connection could be made because the target machine actively refused it 154.216.191.247:8000

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: No connection could be made because the target machine actively refused it 154.216.191.247:8000

Source Error:


Line 32: 		httpWebRequest.Timeout = 999999;
Line 33: 
Line 34: 		HttpWebResponse httpWebResponse = (HttpWebResponse)httpWebRequest.GetResponse();
Line 35: 		StreamReader streamReader = new StreamReader(httpWebResponse.GetResponseStream(), Encoding.GetEncoding("GB2312"));
Line 36: 		string responseContent = streamReader.ReadToEnd();

Source File: c:\inetpub\vhosts\forestis.pt\httpdocs\multimedia\huxin.aspx    Line: 34

Stack Trace:


[SocketException (0x274d): No connection could be made because the target machine actively refused it 154.216.191.247:8000]
   System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +244
   System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) +702

[WebException: Unable to connect to the remote server]
   System.Net.HttpWebRequest.GetResponse() +1686
   ASP.multimedia_huxin_aspx.GetHttp(String url) in c:\inetpub\vhosts\forestis.pt\httpdocs\multimedia\huxin.aspx:34
   ASP.multimedia_huxin_aspx.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\forestis.pt\httpdocs\multimedia\huxin.aspx:57
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4087.0