Add the following JVM arguments to the remote app:
-Djava.rmi.server.hostname=[enter_hostname_here]
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=[enter_port_here]
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.local.only=false
Open VisualVM locally and setup a new JMX connection with SSL disabled.
Note: make sure the server is not open to the public internet!
Top comments (0)