Communication between two Cassandra nodes
Assume two Cassandra nodes ru开发者_JAVA技巧nning on hosts A
and B
respectively. Which TCP and/or UDP ports needs to be open between hosts A
and B
for Cassandra to operate properly?
That depends on how you have configured storage-conf.xml on your two nodes.
Hint. take a look at <StoragePort>7000</StoragePort>
in storage-conf.xml.
(TCP port 7000 is the standard/default port used by Cassandra for internal communication, i.e. address to bind to and tell other nodes to connect to).
UDP port (7001 default) was previous used for gossip, was removed in 0.6.0.
精彩评论