...
- If the server has a firewall, you will need to open access to port 1099 and possibly also port 2737.
- If the server's /etc/hosts file is not configured to return the correct IP address for the server's hostname (as revealed by hostname -i), you may need to correct this.
Warning: Always remember to backup configuration files before changing
IPtables is used with the Redhat distribution. If you enable jmx for port 1099 you will find that an RMIregistry sits there by default and gives a second port number out for Jconsole. To enable the range of ports from 1099 to 65xxx then the following rule may be added to /ect/sysconf/iptables
Code Block |
---|
-A INPUT -s <your_host> -p tcp -m tcp --dport 1099: -j ACCEPT
|
Where <your_host> is the name of the host that is running jconsole.
Jconsole
To activate Jconsole {$JAVA_HOME}/bin/jconsole
...