Snjezana Sevo-Zenzerovic wrote:
Small nit: I
believe that the alternative port in this situation is randomly chosen
free port from system's dynamic port range and not the next available
port in a sense that we would simply increment the default to find the
free one.
Just adding my 2 cents:
I am sorry, what you describe here does not sound very user-friendly to
me. I would propose one (or both) of the following two:
- when server is started, one of the last logging messages should
repeat the server's actual port configuration, or
- port choosing algorithm should try to find closest free port, not
randomly picked one.
Personally, I would prefer 1. It would be really great to see after
server startup at the end of the log what ports are in use and what is
their purpose.
Marek