Gets or sets the TCP port number on which this TelnetAppender will listen for connections.
An integer value in the range MinPort to MaxPort indicating the TCP port number on which this TelnetAppender will listen for connections.
The default value is 23 (the telnet port).
Exception Type | Condition |
---|---|
ArgumentOutOfRangeException | The value specified is less than MinPort or greater than MaxPort. |
TelnetAppender Class | log4net.Appender Namespace