We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c8957f commit 3ac707fCopy full SHA for 3ac707f
driver-core/src/test/java/com/datastax/driver/core/CCMBridge.java
@@ -437,7 +437,11 @@ public InetSocketAddress addressOfNode(int n) {
437
438
@Override
439
public InetSocketAddress jmxAddressOfNode(int n) {
440
- return new InetSocketAddress("localhost", jmxPorts[n - 1]);
+ if (GLOBAL_SCYLLA_VERSION_NUMBER != null) {
441
+ return new InetSocketAddress(ipOfNode(n), jmxPorts[n - 1]);
442
+ } else {
443
+ return new InetSocketAddress("localhost", jmxPorts[n - 1]);
444
+ }
445
}
446
447
0 commit comments