Fix up how we deal with private ip/hostname.