Re: Failed to connect to a Cassandra cluster's all nodes without default port
Boxuan Li
Hi,
Can you check your cassandra nodes’ configurations? It looks like some of your nodes are still using 9042 for native transport port.
Cheers,
Boxuan
「<zhouyu74748585@...>」在 2021年6月17日 週四,下午4:39 寫道:
but when I start it,
Hello everyone, when I try to connect to a Cassandra cluster which's port is not default, just like this
StandardJanusGraph graph = (StandardJanusGraph) JanusGraphFactory.build().set("storage.backend", "cql").
set("storage.hostname", "192.168.223.3:51705,192.168.223.4:51705,192.168.223.5:51705,").
open();
only one node's is correct, the others' port change to 9042, the default one. so I can only connect to one node.
I try to fix this, but it only useful when all nodes' port are the same.if different node has different port.it will not work.
So I hope someone will have a good solution.