我可以使用带有CQLSH的外部ip连接到cassandra docker实例,但是它无法从java客户端连接。
服务器日志:
Server.java:156 - Starting listening for CQL clients on /0.0.0.0:9042 (unencrypted)...
申请时出错:
Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /14.24.34.44:9042 (com.datastax.driver.core.exceptions.TransportException: [/14.24.34.44:9042] Cannot connect))
使用的Cassandra版本:3.11.1