By default, WCS uses port 50999 for JMX. Various monitoring tools such as VisualVM, JConsole, Java Mission Control connect to this port. The port can be configured in startup settings of the server.
If you cannot connect from JConsole or VisualVM using standard parameters, try one of the following ways:
1. In the wcs-core.properties settings file replace
where 192.168.1.5 is the IP address of the network interface the server runs on.
See also: Starting the server.
2. In /etc/hosts
add a link from localhost to the IP address of the network interface, for example
As a result, you can connect to the JMX monitoring system directly through the server address (i.e. 192.168.1.5:50999) or through a tunnel (i.e. localhost:50999).
Creating a tunnel is described in the below section.