cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alaa Zubaidi (PDF)" <>
Subject nodetool -h <hostname or ip> fails Connection refused
Date Tue, 19 Apr 2016 19:40:09 GMT

I am trying to run nodetool remotely. but its not working:
I am running Cassandra 2.2.5 on CentOS 6.
listen_address: is set to <host IP>
rpc_address: is set to
broadcast_rpc_address: is set to <host IP>

I changed the following in
JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=<hostname>"

"nodetool -h <hostname or ip> -p <port> status" results in:
failed to connect to 'hostname' - Connection Exception: 'Connection refused"

netstat -nl | grep 7199
tcp    0    0*    LISTEN

ONLY "nodetool -h localhost" works

Any idea how to fix it?


*This message may contain confidential and privileged information. If it 
has been sent to you in error, please reply to advise the sender of the 
error and then immediately permanently delete it and all attachments to it 
from your systems. If you are not the intended recipient, do not read, 
copy, disclose or otherwise use this message or any attachments to it. The 
sender disclaims any liability for such unauthorized use. PLEASE NOTE that 
all incoming e-mails sent to PDF e-mail accounts will be archived and may 
be scanned by us and/or by external service providers to detect and prevent 
threats to our systems, investigate illegal or inappropriate behavior, 
and/or eliminate unsolicited promotional e-mails (“spam”). If you have any 
concerns about this process, please contact us at *
** <>*.*

View raw message