def bind_addr(self):
        """Return bind address.

        A (host, port) tuple for TCP sockets or a str for Unix domain
        sockets.
        """
        if self.socket_file:
            return self.socket_file
        if self.socket_host is None and self.socket_port is None:
            return None
        return (self.socket_host, self.socket_port)
Return bind address.

        A (host, port) tuple for TCP sockets or a str for Unix domain
        sockets.
        
cherrypy/_cpserver.py