0
我試圖連接到我的Datastax企業Cassandra安裝在服務器上。當我嘗試連接,我收到了一個錯誤:dse驅動程序連接被拒絕
Cassandra connection error { [Error: All host(s) tried for query failed. First host tried, XX.XX.XX.XX:9042: Error: connect ECONNREFUSED XX.XX.XX.XX:9042. See innerErrors.]
innerErrors:
{ 'XX.XX.XX.XX:9042':
{ Error: connect ECONNREFUSED XX.XX.XX.XX:9042
at Object.exports._errnoException (util.js:896:11)
at exports._exceptionWithHostPort (util.js:919:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1073:14)
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect',
address: 'XX.XX.XX.XX',
port: 9042 } },
info: 'Represents an error when a query cannot be performed because no host is available or could be reached by the driver.',
message: 'All host(s) tried for query failed. First host tried, XX.XX.XX.XX:9042: Error: connect ECONNREFUSED XX.XX.XX.XX:9042. See innerErrors.' }
我猜東西cassandra.yaml被限制連接到本地主機?
任何幫助將超級讚賞! 我cassandra.yaml有點過長後,如果需要,我可以發佈一個鏈接