Commit 94770cc0 authored by Jack Gough's avatar Jack Gough Committed by Stephane Nicoll

Force JMX hostname to 127.0.0.1

Closes gh-14836
parent b832a2f6
......@@ -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