Skip to content

Commit

Permalink
Force JMX hostname to 127.0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
goughy000 authored and snicoll committed Oct 17, 2018
1 parent b832a2f commit 94770cc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ protected RunArguments resolveJvmArguments() {
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;
Expand Down

0 comments on commit 94770cc

Please sign in to comment.