In looking at the event log on the machine which I'm running this command (Done it on both the IIS and AOS machine) we see:
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it [IP Address]:443
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.Dynamics.Framework.Deployment.Services.EPDeploymentService.DeployWebComponent(String treeNodePath, String virtualServer, String webSite)
at AxUpdatePortal.Program.UpdateWebComponent(String operationName, String treenodePath, String webSiteUrl)
at AxUpdatePortal.Program.Main(String[] args)
*This post is locked for comments