Fixes resolving es_server ip.