Server Error in '/' Application.

No connection could be made because the target machine actively refused it 172.30.195.18:443

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 172.30.195.18:443

Source Error:


Line 52: 		// Include the local header include document
Line 53: 		WebClient client = new WebClient ();
Line 54:     		string localHeaderInclude = client.DownloadString (Application["CS_SiteURL"].ToString() + "/default.aspx?id=" + headIncludeId .ToString()).Trim();
Line 55: 		if (!String.IsNullOrEmpty(localHeaderInclude)) {
Line 56: 			LiteralControl lc = new LiteralControl(

Source File: d:\ContentStudio.Net\Sites\Trima\Admin\FullpagePresentationTemplates\DefaultFullPagePresentationTemplate.aspx.cs    Line: 54

Stack Trace:


[SocketException (0x274d): No connection could be made because the target machine actively refused it 172.30.195.18:443]
   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.WebClient.DownloadDataInternal(Uri address, WebRequest& request) +365
   System.Net.WebClient.DownloadString(Uri address) +111
   CS_default_1037.Page_Init(Object sender, EventArgs e) in d:\ContentStudio.Net\Sites\Trima\Admin\FullpagePresentationTemplates\DefaultFullPagePresentationTemplate.aspx.cs:54
   System.Web.UI.Control.OnInit(EventArgs e) +106
   System.Web.UI.Page.OnInit(EventArgs e) +16
   System.Web.UI.Control.InitRecursive(Control namingContainer) +166
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1598


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