Server Error in '/' Application.

No connection could be made because the target machine actively refused it 94.201.123.209:6937

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 94.201.123.209:6937

Source Error:


Line 611:        byte[] byteArray = Encoding.UTF8.GetBytes(s1);
Line 612:        req.ContentLength = byteArray.Length;
Line 613:        Stream datastream = req.GetRequestStream();
Line 614:        datastream.Write(byteArray, 0, byteArray.Length);
Line 615:        datastream.Close();

Source File: d:\website\arabitorrent.com\confirm.aspx.cs    Line: 613

Stack Trace:


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

[WebException: Unable to connect to the remote server]
   System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) +1003
   System.Net.HttpWebRequest.GetRequestStream() +23
   Default2.listTfiles(String data) in d:\website\arabitorrent.com\confirm.aspx.cs:613
   Default2.Page_Load(Object sender, EventArgs e) in d:\website\arabitorrent.com\confirm.aspx.cs:132
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.9174; ASP.NET Version:2.0.50727.9175