Commit 696c621f authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #14836 from goughy000

* pr/14836:
  Force JMX hostname to 127.0.0.1
parents b832a2f6 94770cc0
......@@ -133,6 +133,7 @@ public class StartMojo extends AbstractRunMojo {
remoteJmxArguments.add("-Dcom.sun.management.jmxremote.port=" + this.jmxPort);
remoteJmxArguments.add("-Dcom.sun.management.jmxremote.authenticate=false");
remoteJmxArguments.add("-Dcom.sun.management.jmxremote.ssl=false");
remoteJmxArguments.add("-Djava.rmi.server.hostname=127.0.0.1");
jvmArguments.getArgs().addAll(remoteJmxArguments);
}
return jvmArguments;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment