Server Error in '/' Application.

No connection could be made because the target machine actively refused it 10.1.10.52:8983

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 10.1.10.52:8983

Source Error:


Line 131:        WebRequest request = WebRequest.Create(HttpUtility.UrlDecode(url));
Line 132:        request.ContentType = "application/json";
Line 133:        HttpWebResponse response = (HttpWebResponse)request.GetResponse();
Line 134:
Line 135:        Stream receiveStream = response.GetResponseStream();

Source File: c:\inetpub\wwwroot\constantbusiness.com\UserControl\TopMenuBar.ascx.cs    Line: 133

Stack Trace:


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

[WebException: Unable to connect to the remote server]
   System.Net.HttpWebRequest.GetResponse() +7769892
   UserControl_TopMenuBar.GetSeatchData() in c:\inetpub\wwwroot\constantbusiness.com\UserControl\TopMenuBar.ascx.cs:133
   UserControl_TopMenuBar.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\constantbusiness.com\UserControl\TopMenuBar.ascx.cs:34
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3048


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