![](/img/trans.png)
[英]VisualVM Cannot connect to 178.xxx.xxx.xxx:xxxx using service:jmx:rmi///
[英]Cannot connect to JMX/RMI server with VisualVM for no apparent reason
我在我的遠程計算機中使用以下命令啟動了我的OSGi應用程序:
java -Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=8080 \
-Dcom.sun.management.jmxremote.local.only=false \
-Dcom.sun.management.jmxremote.authenticate=false \
-Dcom.sun.management.jmxremote.ssl=false \
-jar bin/felix.jar
在我的本地機器上,我有VisualVM,我嘗試連接到遠程JVM實例:
我錯過了什么?
謝謝!
@Klara的評論救了我的一天!! 修復了我與jstad的連接
jstatd -J-Djava.security.policy=all.policy -J-Djava.rmi.server.hostname=hostname-goes-here &
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.