Ninja fix comments saying mx4j defaults to 0.0.0.0

CASSANDRA-13574
This commit is contained in:
Brandon Williams 2021-06-29 15:57:55 -05:00
parent f329c63d86
commit 2d8b304e75
2 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,7 @@ fi
# To use mx4j, an HTML interface for JMX, add mx4j-tools.jar to the lib/
# directory.
# See http://cassandra.apache.org/doc/3.11/operating/metrics.html#jmx
# By default mx4j listens on 0.0.0.0:8081. Uncomment the following lines
# By default mx4j listens on the broadcast_address, port 8081. Uncomment the following lines
# to control its listen address and port.
#MX4J_ADDRESS="-Dmx4jaddress=127.0.0.1"
#MX4J_PORT="-Dmx4jport=8081"

View File

@ -26,7 +26,7 @@ import org.slf4j.LoggerFactory;
* If mx4j-tools is in the classpath call maybeLoad to load the HTTP interface of mx4j.
*
* The default port is 8081. To override that provide e.g. -Dmx4jport=8082
* The default listen address is 0.0.0.0. To override that provide -Dmx4jaddress=127.0.0.1
* The default listen address is the broadcast_address. To override that provide -Dmx4jaddress=127.0.0.1
*/
public class Mx4jTool
{