Gets or sets the TCP port number on which this TelnetAppender will listen for connections.
Namespace: log4net.AppenderAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Property Value
Type: Int32An integer value in the range MinPort to MaxPort indicating the TCP port number on which this TelnetAppender will listen for connections.
Exceptions
Exception | Condition |
---|---|
System ArgumentOutOfRangeException | The value specified is less than MinPort or greater than MaxPort. |
Remarks
The default value is 23 (the telnet port).
See Also