Fall back to IPv4 if IPv6 fails