Jconsole cannot connect

前端 未结 4 2478
被撕碎了的回忆
被撕碎了的回忆 2021-02-19 23:37

I am using VNC to connect to a server. I am able to VNC into the server, and open Jconsole, but cannot get it to connect to my process whether I include the PID or try connectin

4条回答
  •  别那么骄傲
    2021-02-19 23:48

    In my case, I also had to add this option to get Jconsole to connect to the process.

    -Djava.rmi.server.hostname=localhost

提交回复
热议问题