5.14 CNSLPORT (Console port)
5.14.1 Function
The CNSLPORT parameter specifies the port number (in decimal), on which the telnet server will listen.
The statement may also have the form host:port, where the telnet console server will bind to the specified
address.
5.14.2 Syntax
Descriptive
port
Diagram
¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
¬¬¬¬¬
port ¬¬¬¬¬«
5.14.3 Parameter
host
The IP address of the host to which the telnet server will bind to. If an IP address is
given then it must be a valid IP address for the host system.
port
The port number (decimal) on which the telnet server will listen. The port number
must not be in use by any other server. The port number must be in the range of 0
to 65535. Ports below 1024 cannot be used unless Hercules is running as root or is
otherwise authorized to use low ports.
5.14.4 Examples
Example 1:
Set the port number on which the telnet server will listen to 3270.
CNSLPORT 3270
Example 2:
Specify 192.168.1.10 as the IP address of the host to which the telnet server will bind to and set the port
number on which the telnet server will listen to 3270.
CNSLPORT 192.168.1.10:3270