启动cqlsh时,保存如下:

Connection error: ('Unable to connect to any servers', {'127.0.0.1': error(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")})

在启动时,指定连接的IP和端口

./cqlsh xxx.xxx.xxx.xxx 9042

输出结果如下:

Connected to Test Cluster at 100.106.242.180:9042.
[cqlsh 5.0.1 | Cassandra 3.9 | CQL spec 3.4.2 | Native protocol v4]
Use HELP for help.
cqlsh>

  

相关文章:

  • 2022-02-17
  • 2022-12-23
  • 2022-01-10
  • 2021-06-15
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2022-12-23
猜你喜欢
  • 2022-01-14
  • 2021-07-27
  • 2021-09-13
  • 2022-12-23
  • 2021-05-20
  • 2021-12-28
  • 2021-08-07
相关资源
相似解决方案