Saving port and host to use for account controller