0
votes

If I change the port one of the cassandra node will it communicate to other node?

I am using cassandra 3.6 and 3 node of cassandra .

node1 and 2 having default port like storage_port=7000, rpc_port=9160 etc. but I change the port for node3 given below.

storage_port:                   7005
ssl_storage_port:               7006
native_transport_port:          9043    
rpc_port:                       9161

but when I connect to cassandra with node3, this error I am facing

Exception (java.lang.RuntimeException) encountered during startup: Unable to gossip with any seeds

how to fixed this issue please help me out.

1
Did you restart all nodes in Cassandra after changing the port?Soheil Pourbafrani
yes @soheil i restarted.Ganesh

1 Answers

3
votes

The ports on all nodes need to be the same.