PORT

Required? Yes
Keyword Type String
Default 23
Field Length 1–5
Multiples Allowed? No
   PORT = (
      @TYPE = STRINGKEYWORD
      @FIELD_LENGTH = 1,5
      @DEFAULT = 23
    )

The PORT parameter specifies the port number the TN3270E client uses to connect to the server.

PORT is a 1- to 5-byte character string.

This parameter is required. The default is 23.

Normally, the TN3270E server uses port 23. Telnet typically uses port 23, so if TELNETD is running and is using port 23, you need to change the default. If two applications (TELNETD and TN3270E) use the same port number, one of the applications fails.
Note:
If you change the port number from 23, the port number defined on TN3270E clients must be changed to the number specified here.