Which ports to open when nodes are protected by a firewall.
The following ports must be open to allow bi-directional communication between nodes,
including certain Cassandra ports. Configure the firewall running on nodes in your Cassandra
cluster accordingly. Without open ports as shown, nodes will act as a standalone database
server and will not join the Cassandra cluster.
Table 1. Public port
Port number. |
Description |
22 |
SSH port |
Table 2. Cassandra inter-node ports
Port number. |
Description |
7000 |
Cassandra inter-node cluster communication. |
7001 |
Cassandra SSL inter-node cluster communication. |
7199 |
Cassandra JMX monitoring port. |
Table 3. Cassandra client ports
Port number. |
Description |
9042 |
Cassandra client port. |
9160 |
Cassandra client port (Thrift). |
9142 |
Default for native_transport_port_ssl, useful when both encrypted and
unencrypted connections are required |