我试图远程连接到nodetool,无法连接
H:\ApacheCassandra\apache-cassandra-2.1.8-bin\apache-cassandra-2.1.8\bin>nodetool -h 192.168.0.45 status
Starting NodeTool
nodetool: Failed to connect to '192.168.0.45:7199' - ConnectException: 'Connection refused: connect'.
我遵循网上给出的几个选项,例如
Enabled : JMX_PORT="7199"
Enabled : JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=192.168.045"
cassandra-env.sh
中的