For security reason, Cassandra changes JMX to listen localhost only since version 2.0.14/2.1.4. >From NEWS.txt:
"The default JMX config now listens to localhost only. You must enable the other JMX flags in cassandra-env.sh manually. " On Thu, May 21, 2015 at 11:05 AM, Walsh, Stephen <stephen.wa...@aspect.com> wrote: > Just wondering if anyone else is seeing this issue on the nodetool after > installing 2.1.5 > > > > > > This works > > nodetool -h 127.0.0.1 cfstats keyspace.table > > > > This works > > nodetool -h localhost cfstats keyspace.table > > > > This works > > nodetool cfstats keyspace.table > > > > This doesn’t work > > nodetool -h 192.168.1.10 cfstats keyspace.table > > nodetool: Failed to connect to ‘192.168.1.10:7199' - ConnectException: > 'Connection refused'. > > > > Where 192.168.1.10 is the machine IP, > > All firewalls are disabled and it worked fine on version 2.0.13 > > > > This has happened on both of our upgraded clusters. > > Also no longer able to view the “CF: Total MemTable Size” & “flushes > pending” in Ops Center 5.1.1, related issue? > > > > This email (including any attachments) is proprietary to Aspect Software, > Inc. and may contain information that is confidential. If you have received > this message in error, please do not read, copy or forward this message. > Please notify the sender immediately, delete it from your system and destroy > any copies. You may not further disclose or distribute this email or its > attachments. -- Yuki Morishita t:yukim (http://twitter.com/yukim)