How to provide multiple host:port in the JDBC connection string? #40
Replies: 2 comments
-
|
Hello @stefanofornari, No, unfortunately, it’s not currently possible to specify different ports for each host. However, it’s a good idea of feature to implement. So, I will transform this question into an issue as feature request. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks, it is very helpful if you have some infra behind NAT. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, it is mentioned several time the connection string is something like:
jdbc:cassandra://host1--host2--host3:9042/keyspace
What if nodes have different ports? can the below be used?
jdbc:cassandra://host1:port1--host2:port2--host3:port3/keyspace
Beta Was this translation helpful? Give feedback.
All reactions