In one of our vCenter's UserSessionService serviceUrl does not provide the port details...
What we expect is serviceUrl to be "https://<IP>:<Port>/sdk". Port mostly is 443. But what we get is "https://<IP>/sdk" (Just IP without port). We have written some code based on the port number. Any idea why would this happen. I have set up and if needed I can provide more details/ logs.