Cassandra Unable to gossip with any peers

Viewed 582

I have 2 nodes.. One of them in azure (node1) one of them in my computer (node2)

ip1 = VM's public IP 
ip2 = 192.168.1.33

in yaml file:

Node1:
listen_address= ip1
rpc_address= ip1
seed = ip1

Node2:
listen_address=ip2
rpc_address=ip2
seed=ip1

When I check if oport 7000 is open on ip1, it shows open. Node1 successfuly starting but in node 2 I'm getting Unable to gossip with any peers error.

1 Answers

You need to specify broadcast_address for node2 as your public IP - Azure couldn't route traffic into your private network..., and then setup your router so it will route incoming requests to your node2.

Related