Proxy Server Connection Problem with the Web Services API

You might have a proxy connection problem.
The sample application reports that it is unable to connect to the remote server. For example:
SimpleClient.exe https://<management-server>/sdk <user> <pass> Caught Exception : Name : WebException Message : Unable to connect to the remote server Trace : at System.Net.HttpWebRequest.GetRequestStream() at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at VimApi.VimService.RetrieveServiceContent(ManagedObjectReference _this) ... Exception disconnecting. Caught Exception : Name : NullReferenceException Message : Object reference not set to an instance of an object. Trace: ...
Cannot connect to the Web service from Microsoft .NET client sample through the proxy server.
Try a different server on the same subnet as the client.