简体   繁体   English

Cassandra 无法与任何同龄人八卦

[英]Cassandra Unable to gossip with any peers

I have 2 nodes.. One of them in azure (node1) one of them in my computer (node2)我有 2 个节点。 其中一个在 azure (node1) 中,其中一个在我的电脑中 (node2)

ip1 = VM's public IP 
ip2 = 192.168.1.33

in yaml file:在 yaml 文件中:

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.当我检查 ip1 上的 oport 7000 是否打开时,它显示打开。 Node1 successfuly starting but in node 2 I'm getting Unable to gossip with any peers error.节点 1 成功启动,但在节点 2 中,我无法使用任何对等错误进行八卦。

您需要将 node2 的broadcast_address地址指定为您的公共 IP - Azure 无法将流量路由到您的专用网络...,然后设置您的路由器,以便将传入请求路由到您的 node2。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM