Fix how to get hostname and port