port Property
Specifies the listening port number.
Syntax
def get_port() -> int: ... def set_port(value: int) -> None: ...
port = property(get_port, set_port)
Default Value
22
Remarks
Use this property to specify on which port the class will be listening to client connections.