Remote JMX connection

前端 未结 12 1113
后悔当初
后悔当初 2020-11-29 15:54

I\'m trying to open a JMX connection to java application running on a remote machine.

The application JVM is configured with the following options:

  • com
12条回答
  •  伪装坚强ぢ
    2020-11-29 16:10

    http://blogs.oracle.com/jmxetc/entry/troubleshooting_connection_problems_in_jconsole

    If you are trying to access a server which is behind a NAT - you will most probably have to start your server with the option

    -Djava.rmi.server.hostname=
    

    so that the RMI stubs sent to the client contain the server's public address allowing it to be reached by the clients from the outside.

提交回复
热议问题