Question

atm I use the following java params to enable remote access for a java application. But everyone who does a port scan can get access. I couldn´t find the params to set a user and password or ip whitelist. How can I do this ?

java
 -Dcom.sun.management.jmxremote
 -Dcom.sun.management.jmxremote.port=9000
 -Dcom.sun.management.jmxremote.ssl=false
 -Dcom.sun.management.jmxremote.authenticate=false
class
Was it helpful?

Solution

See this web page, which describes all the required settings for JMX monitoring with authentication.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top