Hi,

Whenever I am trying to connect to apache-cassandra-3.11.1, I am getting 
exception Unexpected client failure - null
The detailed explanation :

JMXConnectionPool.getJMXConnection - Failed to retrieve RMIServer stub: 
javax.naming.ServiceUnavailableException [Root exception is 
java.rmi.ConnectException: Connection refused to host:<ip_address>;
nested exception is: java.net.ConnectException: Connection refused (Connection 
refused)]

I tried following workaround

1) Adding IP Address of the machine (where server is installed) in  /etc/hosts 
(For Linux OS)
2) Adding IP Address of the machine (where server is installed) in 
cassandra.yaml (entry as seed and listen addresses)
3)Also check for proper variables are set for java and Cassandra.

However, while executing the "netstat -an | grep 7199"  command ,I am still 
getting the 127.0.0.1 as the hosted ip.

Can you suggest me any change which needs to be done in the configuration or 
the connection mechanism of apache-cassandra-3.11.1 ,because my application is 
working
fine for apache-cassandra-3.0.15. ?

Kindly, revert ASAP.

Thanks and Regards,

Gaurav Kumar- Software Engineer

Reply via email to