web_server_port Property
The local port on which the embedded web server listens.
Syntax
def get_web_server_port() -> int: ... def set_web_server_port(value: int) -> None: ...
web_server_port = property(get_web_server_port, set_web_server_port)
Default Value
0
Remarks
This property specifies the port on which the embedded web server listens. Setting this to 0 (default) enables the system to choose a port at random. The chosen port will be returned when this setting is queried after the server has started listening.This is only applicable when using the embedded web server.