PORT
| Required? | Yes |
| Keyword Type | Unsigned number |
| Default | 23 |
| Range | 1–65 535 |
| Multiples Allowed? | No, only one for each TN3270_PORT_DEF keyword |
PORT = (
@TYPE = UNSIGNEDNUMBERKEYWORD
@RANGE = 1,65535
@REQUIRED = 1
@DEFAULT = 23
)
The PORT parameter specifies the number of the port that the TN3270 client uses to connect to the server.
The value is an integer in the range 1–65 535.
This parameter is required. The default is 23.
Normally, the TN3270E server uses port 23. Telnet typically uses port 23,
so if another application is running and is using port 23, you need to change
the default. The port number must be not be assigned to any other application.
If two applications use the same port number, one of the applications fails.
Note:
If you change the port number from 23, the port number defined on
TN3270 clients must be changed to the number specified here.