我是這個領域的新手,並試圖使用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