I am new to Java and I\'m facing a problem in connecting a Remote Host to the JVisualVM
.
I\'ve searched the Internet and followed all the steps mentioned th
Here are the steps to do this:
mvn exec:java -Djava.rmi.server.hostname= -Dexec.args="-pr 1099 -ph 1100 -pv 1101"
(used for "jstatd" type connection) (only specify -Djava.rmi.server.hostname
if the hostname of your remote host does not match with the one you are seeing from your local network)-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=1102 -Dcom.sun.management.jmxremote.rmi.port=1102 -Djava.rmi.server.hostname=
(used for "JMX" type connection) (same remark as the previous point for -Djava.rmi.server.hostname
)1099
, 1100
, 1101
and 1102
1099
, you can change this in the "Advanced Settings"):1102
" in "Connection" input, and check "Do not require SSL connection"Disclaimer: I'm the author of the open source ejstatd tool.