    def _connect_port(self):
        """
        The port to use when connecting to this server.

        Defaults to self.port, but can be overridden by setting self.connect_port
        """
        if self.connect_port:
            return self.connect_port
        return self.port
The port to use when connecting to this server.

Defaults to self.port, but can be overridden by setting self.connect_port
jupyterhub/objects.py