This is needed when some ports in the port range are used by other processes. Note that simply assigning the ports dynamically does not work:
- We spin up several nodes per test (each node gets its own port)
- We run several tests in parallel
So to avoid nodes from different tests colliding on ports, the port assignment must be deterministic (can not be dynamic).
Fixes: #10869