我是这个领域的新手,并试图使用cassandra(Datastax)。根据他们网站上的说明,我吸收了JDK和cassandra。无法启动窗口上的cassandra 10
但是,当我试图运行CQL shell时,我得到以下错误。我搜索找到一个解决方案,但没有找到一个。
没有重新安装cassandra,但没有帮助。你可以选择任何解决方案吗?
C:\Program Files\DataStax-DDC\apache-cassandra\bin>cqlsh 127.0.0.1 9042
Connection error: ('Unable to connect to any servers', {'127.0.0.1': error(10061, "Tried connecting to [('127.0.0.1', 9042)]. Last error: No connection could be made because the target machine actively refused it")})
你检查了Windows防火墙有没有打开这些端口?要查看cassandra使用的端口,请选中[链接](https://docs.datastax.com/en/cassandra/2.1/cassandra/security/secureFireWall_r.html) –
在您的cassandra.yaml中,您绑定了哪个IP卡桑德拉进程?你真的使用localhost/loopback IP吗? – Ralf