webServerPort (property)
The local port on which the embedded web server listens.
Syntax
@property (nonatomic,readwrite,assign,getter=webServerPort,setter=setWebServerPort:) int webServerPort; - (int)webServerPort; - (void)setWebServerPort:(int)newWebServerPort;
public var webServerPort: Int32 { get {...}
set {...} }
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.