title: Cassandra 3.3 - Remote connection via cqlsh
body: <p>I am facing some issues trying to connect to Cassandra 3.3.0 on Centos 7 remotely from another machine in the network. It is returning a "timed out" error while trying to connect via</p>
  
  <pre><code>$ cqlsh 192.168.1.56 9042
  </code></pre>
  
  <p>Same with:</p>
  
  <pre><code>$ cqlsh 192.168.1.56
  </code></pre>
  
  <p>In my point of view, I have configured the <code>cassandra.yaml</code> file correctly as it worked fine when I tried to connect to a locally running VM (Ubuntu) with an active Cassandra instance.</p>
  
  <p>When I am checking the IPs and ports which have been bound via <code>netstat -lnt</code>, it is returning</p>
  
  <pre><code>tcp6   0   0   192.168.1.56:9042   :::*    Listen
  </code></pre>
  
  <p>Actually the only one which is bound to tcp6. <code>192.168.1.56:9160</code> is bound to <code>tcp</code>.</p>
  
  <p>Running on Ubuntu, it returns the same binding to <code>tcp</code>. So the fault is related to that point, I guess.</p>
  
  <p>Some background facts:</p>
  
  <ul>
  <li>I am running Cassandra as root. Both server and clients are running cqlsh 5.0.1, CQL spec 3.4.0 and Cassandra 3.3.0. Python 2.7.5.</li>
  <li>The VM is accessible via <code>192.168.1.56</code> without problems. Firewall is deactivated and I even have tried to de- and reactivate IPv6. I have tried different combinations configuring the <code>cassandra.yaml</code> -- such as taking the interface instead of its IP directly, but without changes in the result.</li>
  </ul>
  
  <p>All my research has not shown success so far. Has anybody an idea?!</p>