VMware Cloud Community
RanjnaAggarwal
VMware Employee
VMware Employee
Jump to solution

Change vSphere Web Client Default Port from 9443 to any other port

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?

Regards, Ranjna Aggarwal
1 Solution

Accepted Solutions
MKguy
Virtuoso
Virtuoso
Jump to solution

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.

-- http://alpacapowered.wordpress.com

View solution in original post

Reply
0 Kudos
5 Replies
MKguy
Virtuoso
Virtuoso
Jump to solution

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.

-- http://alpacapowered.wordpress.com
Reply
0 Kudos
RanjnaAggarwal
VMware Employee
VMware Employee
Jump to solution

how to change this in vCenter appliance. if web client is running in vCenter appliance?

Regards, Ranjna Aggarwal
Reply
0 Kudos
MKguy
Virtuoso
Virtuoso
Jump to solution

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.

-- http://alpacapowered.wordpress.com
systematic92
Contributor
Contributor
Jump to solution

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,

Reply
0 Kudos
MKguy
Virtuoso
Virtuoso
Jump to solution

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.

-- http://alpacapowered.wordpress.com
Reply
0 Kudos