Use the right url for ipv6 addresses

(cherry picked from commit 56e07b5bdf0ed23f8b05f707091a97894fec2879)