When you attempt to open a virtual machine console from the vSphere Web Client, the console does not open.

Problem

When you attempt to open a virtual machine console from the vSphere Web Client, the console does not open. The following error message appears:

HTTP ERROR 404
Problem accessin /. Reason:
Not Found

Errors similar to the following appear in the virgo-server.log file:

[2012-10-03 18:34:19.170] [ERROR] Thread-40
System.err 																														2012-10-03
18:34:19.167:WARN:oejuc.AbstractLifeCycle:FAILED org.eclipse.jetty.server.Server@315b0333: java.net.BindException: Address already in use
[2012-10-03 18:34:19.170] [ERROR] Thread-40 System.err java.net.BindException: Address already in use

Cause

Another program or process is using port 9443, the default port used by the HTML5 virtual machine console.

Procedure

Edit the webclient.properties file to add the line html.console.port=port, where port is the new port number.

The webclient.properties file is located in one of the following locations, depending on the operating system on the machine on which the vSphere Web Client is installed:

Windows 2008

C:\ProgramData\VMware\vCenterServer\cfg\vsphere-client\

vCenter Server Appliance

/etc/vmware/vsphere-client/