Use client port in connection spec
@@ -88,7 +88,7 @@ public class Reconfigurer extends AbstractComponent {
private String connectionSpec(ZookeeperServerConfig config) {
return config.server().stream()
- .map(server -> server.hostname() + ":" + server.quorumPort())
+ .map(server -> server.hostname() + ":" + config.clientPort())
.collect(Collectors.joining(","));
}
