Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cassandra/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在windows 10上安装cassandra,无法连接到服务器_Cassandra_Cassandra 3.0 - Fatal编程技术网

在windows 10上安装cassandra,无法连接到服务器

在windows 10上安装cassandra,无法连接到服务器,cassandra,cassandra-3.0,Cassandra,Cassandra 3.0,我已经在windows 10上安装了“datastax-ddc-64bit-3.9.0.msi”,当我运行Cassandra CQL Shell时,我遇到了这个错误 连接错误:(‘无法连接到任何服务器’,{'127.0.0.1':错误(10061,“尝试连接到[('127.0.0.1',9042)]。最后一个错误:无法建立连接,因为目标计算机主动拒绝了它)}配置了什么rpc_地址?并使用该主机名/IP连接CQL。例如 cqlsh <rpc_address> <native_tr

我已经在windows 10上安装了“datastax-ddc-64bit-3.9.0.msi”,当我运行Cassandra CQL Shell时,我遇到了这个错误


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

配置了什么rpc_地址?并使用该主机名/IP连接CQL。例如

cqlsh <rpc_address> <native_transport_port>
cqlsh

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

能否验证防火墙是否打开了端口9042?