[FOLLOW UP TO QUESTION #5503]
I do face the same kind of issue in my 1st week course while creating 2 nodes. please help me to sort out the issue.
nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused'
GOT QUESTIONS from the Workshop? You're in the right place! Post a question here and we'll get you answers.
I do face the same kind of issue in my 1st week course while creating 2 nodes. please help me to sort out the issue.
nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused'
Hi @preethikoluvaiya23_193353,
you are facing this problem, because you run nodetool from the node1 folder, for node1. The connection is refused, because node1 is not running. You can see this from the status output that you obtained on node2.
I am not sure where you are in the exercises and what brought you to this situation that node2 is up, but not node1. To bring up both nodes, I would go back to the ring exercises (exercise 7). Delete the node1 and node2 folders and start again, follow the instructions in the exercise sheet.
Also, have a look at the answer in this post, it explains how nodetool is set up to work with several nodes on the single VM.
Let us know if you need more help to get this going.
7 People are following this question.
DSE 6.0 tarball in DS201 course VM appears to be corrupted (follow up to question 5957)
Why can't I untar dse-6.0.0-bin.tar.gz in the DS201 VM image?
Why does starting DSE in the DS201 Academy VM taking more than 120 min?
How do I retrieve data from the videos_by_tag table in exercise 3 of the DS201 course?
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2021 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use