cassandra-user mailing list archives

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

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 0.0.0.0
broadcast_rpc_address: is set to <host IP>

I changed the following in cassadnra-env.sh
JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=<hostname>"
-Dcom.sun.management.jmxremote.port=7199
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false

"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    127.0.0.1:7199    0.0.0.0:*    LISTEN

ONLY "nodetool -h localhost" works

Any idea how to fix it?

Thanks,
Alaa

-- 
*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 *
*legal.department@pdf.com* <legal.department@pdf.com>*.*

Mime
View raw message