Search code examples
javaubuntujmc

How to connect JMC (Java Mission Control) to remote JVM in ubuntu?


I am able to connect to JMC to the JVM while on the same system. However, I want to monitor a remote server. How do I connect my local JMC to my remote JVM?


Solution

  • In the server {Ubuntu} Edit the /etc/hosts file

    127.0.1.1       server-name
    

    Replace above line with this line

    <system-ip>     server-name