Friday, 4 December 2015

Configuring vSphere Web Client On A Custom Port

Written by Suhas Savkoor



During installation of Web Client you will come across a step in the wizard for configuring the port. The default https port used is 9443

Now, you decide that you want to change this https port to a custom port of your choice. Do you really want to reinstall web client? Not a wise choice. You can perform a little tweak to change this.

All you need to do is edit the Web Client configuration file.

Where is this file located?

C:\Program Files\VMware\Infrastructure\vSphereWebClient\server\configuration

Make a copy of the tomcat-server.xml file. Then, edit the original file.

And what to edit here?

Locate the following line

<Connector port="9443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="500" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" 

And change the 9443 Port value to the required unused port. I changed it to 9444

Once the change is done, go ahead and restart the Web Client Service.

Then login to web client and there you go you have your own Custom port.