How can i change vSphere Web Client Default Port from 9443 to any other port in Windows Based vmware web client server after the installation of web client and in vCenter appliance as well?
You can change the vSphere 5.1 Web Client Frontend port post-install by editing the following config file on the Web Client server:
C:\Program Files\VMware\Infrastructure\vSphereWebClient\server\config\tomcat-server.xml
Find the entry below and edit the port accordingly:
<Connector port="9443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="500" scheme="https" [...]
Restart the Web Client service afterwards for the change to take effect.
You can change the vSphere 5.1 Web Client Frontend port post-install by editing the following config file on the Web Client server:
C:\Program Files\VMware\Infrastructure\vSphereWebClient\server\config\tomcat-server.xml
Find the entry below and edit the port accordingly:
<Connector port="9443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="500" scheme="https" [...]
Restart the Web Client service afterwards for the change to take effect.
how to change this in vCenter appliance. if web client is running in vCenter appliance?
It should be similar to this by editing a tomcat XML config file. I don't know where exactly this file is located on the vCenter appliance since I don't have one to check, but you can search for it like this from the shell:
grep -r 9443 /etc/
I think it's the file in /etc/vmware-vpx/tomcat-java-opts.cfg, but I'm not too sure about that.
Sorry for resurrecting an old thread but my server.xml file doesnt have any reference to 9443
I have a file called Catalina.Properties, which references port 9443
Any ideas why I dont see the port in server.xml?
Thanks,
Are you using the Windows vCenter or the VCSA? And which version?
It's possible they just changed it between versions or Windows/VCSA vCenter.
If the config entry sounds anything like listener socket, then this is probably it.