【发布时间】:2018-05-30 20:02:17
【问题描述】:
我在 3 个 AWS EC2 实例上安装了 cassandra,但它们都不能互相 ping 通,7000 上的 telnet 也不能。
telnet tm1 7000
Trying 172.31.30.37...
telnet: Unable to connect to remote host: Connection timed out
下面是 netstat 的输出
netstat -na|grep LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN
我了解 cassandra 节点间通信我需要打开 7000 端口,但想知道如何让它在 ubuntu 上侦听。
任何帮助将不胜感激!
【问题讨论】:
-
你确定 cassandra 正在运行吗?
nodetool info工作?如果 cassandra 正在运行,netstat 应该显示的不仅仅是 ssh 监听。