v.22.4Improvement

Default Server Port Used When Port Not Specified in Cluster Configuration

If port is not specified in cluster configuration, default server port will be used. This closes #34769. #34772 (Alexey Milovidov).
When the port is not specified in the cluster configuration, ClickHouse now defaults to using the server's standard port.

Why it matters

This feature ensures smoother cluster configurations by automatically falling back to the default server port if no specific port is provided. It reduces configuration errors and simplifies setup by eliminating the need to explicitly specify the port in cluster settings.

How to use it

Simply omit the port field in your cluster configuration. ClickHouse will automatically use the server's default port for inter-server communication.