January 20, 20197 yr I'm trying to troubleshoot a possible memory leak on my Guacamole docker container. I have enabled JMX and this works fine when I'm running the container locally on my MacBook Pro. When I run the same container on my Unraid server and export the JMX port VisualVM says it cannot connect. This is tomcat's setenv.sh file: #!/bin/sh export JAVA_OPTS="-Dcom.sun.management.jmxremote.rmi.port=9090 \ -Dcom.sun.management.jmxremote=true \ -Dcom.sun.management.jmxremote.port=9090 \ -Dcom.sun.management.jmxremote.ssl=false \ -Dcom.sun.management.jmxremote.authenticate=false \ -Dcom.sun.management.jmxremote.local.only=false \ -Djava.rmi.server.hostname=localhost"
January 20, 20197 yr Author I figured this out. I needed to set java.rmi.server.hostname to the IP of my Unraid server. With it set to localhost it will only allow connections from localhost.
Archived
This topic is now archived and is closed to further replies.