Can anyone help on this...
While connecting to vCenter through Power CLI using C# code got the below error.
System.Net.WebException: The remote server returned an error: (503) Server Unavailable.
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at VimApi_60.VimService.RetrieveServiceContent(ManagedObjectReference _this)
at VMware.Vim.ServiceInstance.RetrieveServiceContent()
at VMware.Vim.VimClientImpl.Connect()
at VMware.Client.VMwareClient..ctor(String ip, String username, String password)