Github user lvfangmin commented on the issue:
https://github.com/apache/zookeeper/pull/542
This is only useful when we don't use 0 as the port in the address, which
won't happen in realistic for prod usage, so it's not that meaningful to have
this patch.
@mjeelanimsft we only use it internally for testing purpose, should
consider to abandon this patch.---
