In order to ensure that the Java driver can connect to the Cassandra or DSE cluster, please check the following requirements.
- the cluster is running Apache Cassandra 1.2+ or DSE 3.2+
- you have configured the following in the
cassandra.yaml you have
start_native_transport : true rpc_address : IP address or hostname reachable from the client
- machines in the cluster can accept connections on port 9042
Note: The client port can be configured using the native_transport_port in cassandra.yaml.