65781/nodetool-connectexception-connection-connection-refused
Hi Guys,
I installed Cassandra successfully in my system and I tried to check status, but I am getting below error.
$ nodetool status nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused (Connection refused)'.
what am I doing wrong?
Thank You
Hi@akhtar,
To avoid this error, You have to configure cassandra-env.sh file.
Open the configuration file using following command.
$ vi /etc/cassandra/default.conf/cassandra-env.sh
uncomment the below line
JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=127.0.0.1"
Restart cassandra service
$ systemctl restart cassandra
Hope this will help.
The difference is that when you use localhost, ...READ MORE
If the downtime is not an issue, ...READ MORE
Make sure you've started Yarn. Use this ...READ MORE
Try this, first stop all the daemons, ...READ MORE
Hi@akhtar, To install cassandra in your system, follow ...READ MORE
Hi@akhtar, It is showing syntax error in your ...READ MORE
Hi@akhtar, In cassandra there are two types of ...READ MORE
Hi@akhtar, To create table in cassandra, you have ...READ MORE
Hi@Bhavesh, You got connection refused. So, there may ...READ MORE
Hi@akhtar, You need to uninstall SSH and reinstall ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.