How to configure the interface Cassandra listens on?
<p>I am trying to set up a test Cassandra 3.3 cluster on Ubuntu 15.10 with OpenJDK 1.8. The nodes can't talk to each other because Cassandra only listens on the loopback interface, as <code>netstat</code> shows.</p>

<pre><code>tcp        0      0 127.0.0.1:7199          0.0.0.0:*               LISTEN     
tcp6       0      0 127.0.0.1:9042          :::*                    LISTEN
</code></pre>

<p>I have tried to insert my external IP address in  /etc/cassandra/cassandra.yml.</p>

<ul>
<li><p><code>listen_address</code>: I tried the actual external IP address and leaving the field empty.</p></li>
<li><p><code>rpc_address</code>: I tried the actual external IP address and 0.0.0.0.</p></li>
</ul>

<p>I also tried modifying the following in /etc/cassandra/cassandra-env.sh.</p>

<pre><code>JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=&lt;actual external IP address&gt;"
</code></pre>

<p>Between each change I stop the service, delete /var/lib/cassandra/data/system, and restart the service.</p>

<p>How does one configure the interface Cassandra listens to?</p>