local_port Property
The TCP port in the local host where the class listens.
Syntax
def get_local_port() -> int: ... def set_local_port(value: int) -> None: ...
local_port = property(get_local_port, set_local_port)
Default Value
2080
Remarks
The local_port property must be set before QBConnector starts listening. If its value is 0, then the TCP/IP subsystem picks a port number at random. The port number can be found by checking the value of the local_port property after listening is set to True.
The service port is not shared among servers (i.e. there can be only one QBConnector 'listening' on a particular port at one time).
The default value for local_port is 2080.