title: Is there any solution for "nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused (Connection refused)'"?
body: <p>In my <code>cassandra</code> cluster , all nodes are available.</p>
  <p>But for one node, when I check the status it is showing like:</p>
  <pre><code>&quot;nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused (Connection refused)'.&quot;
  </code></pre>
  <p>As I've seen some corrections, I tried restarting cassandra service after setting <code>JVM_OPTS=&quot;$JVM_OPTS -Djava.rmi.server.hostname=127.0.0.1&quot;</code>. But again it is giving the same status as:</p>
  <pre><code>&quot;nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused (Connection refused)'.&quot;
  </code></pre>
  <p>Can someone suggest another solution?</p>