172.0专题

‘Unable to connect to any servers‘, {‘172.0.0.1:9042‘: OSError(None, “Tried

首先请确认Cassandra服务开启 manggo@manggo-computer:~$ sudo service cassandra startmanggo@manggo-computer:~$ cassandra 接着确认为本地单机部署 “错误”代码 cluster=Cluster(['127.0.0.1'])session=cluster.connect() 错误提示