Using PublicAddresses when connecting to an instance