Cassandra Firewall Ports
Category : Knowledge
Cassandra uses various ports for communication, either server to server communication or client to server communication.
If you’re using Cassandra in a firewalled environment you may need to open various ports depending on your needs. All ports are TCP and can be configured in the relevant config files to use non-default ports.
Port # | Type | Description |
---|---|---|
7000 | TCP | Non-encrypted inter-node cluster communication. Not used if SSL is in use. |
7001 | TCP | Encrypted SSL inter-node cluster communication. Not used if SSL is not in use. |
7199 | TCP | JMX monitoring port. |
9042 | TCP | Client port used for native CQL. |
9160 | TCP | Client port used for Thrift. |