1 add getLocalhostIps to common lib