rewrite getServerAddresses to attempt to reach servers on local addresses instead