bookkeeper
bookkeeper copied to clipboard
[ISSUE 2784] get local host from config file
Descriptions of the changes in this PR:
#2784
Please add unit tests and add new config into the default conf file with description to make the feature discoverable.
I think this might be useful for hosts with multiple network interfaces
@dlg99 I do not think there need a new config, we just use the existed config advertisedAddress
.
If we use InetAddress.getLocalHost()
instead of use config advertisedAddress
, there is problem.
I add more log, take a look please. #2784
fix old workflow,please see #3455 for detail