1 Reply Latest reply on Feb 25, 2019 9:40 PM by Hirt-Oracle

    Can the Java management port be restricted to a specific network interface

    Bill S

      For security, is there a way to only enable the management console on a specific interface?

      If I can restrict the listen port to localhost, then I'll know only admins with access to log into the server can access it.

       

      Thanks,

      Bill

        • 1. Re: Can the Java management port be restricted to a specific network interface
          Hirt-Oracle

          You typically do not want to run JMC on the same machine that you're monitoring, as you don't want to waste all those resources on your server. That said, you can simply start JMC and access the process over the local management agent (if JMC is run as the same effective user). If running as the same effective user is not an option, there is actually (since JDK9) a system property you can use to bind the remote agent to a specific host/interface: -Dcom.sun.management.jmxremote.host

           

          Good luck!