【问题标题】:cassandra installation on windows 10 , unable to connect to servercassandra在windows 10上安装,无法连接到服务器
【发布时间】:2017-11-08 15:24:54
【问题描述】:

我在 Windows 10 上安装了“datastax-ddc-64bit-3.9.0.msi”,当我运行 Cassandra CQL Shell 时出现此错误。

连接错误:('无法连接到任何服务器',{'127.0.0.1':错误(10061,“尝试连接到[('127.0.0.1',9042)]。最后一个错误:无法连接因为目标机器主动拒绝了它")})

【问题讨论】:

  • 您能验证一下您的防火墙是否打开了 9042 端口吗?

标签: cassandra cassandra-3.0


【解决方案1】:

rpc_address 是什么配置的?并将 CQL 与该主机名/IP 连接。例如。

cqlsh <rpc_address> <native_transport_port>

检查 Cassandra.yaml 文件中的上述值。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2022-06-10
    • 2019-02-26
    • 2018-09-27
    • 1970-01-01
    • 2017-09-13
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多