Try all ips before giving up