Port (-P) command

The -PORT command specifies the TCP/IP port number of the adapter. In server mode, the port number specifies the port to which remote clients connect. In client mode, the port number specifies the port on the remote host to which the adapter connects. The -PORT command is mutually exclusive with the -SERVICE command.

Read syntax diagramSkip visual syntax diagram
-PORT command syntax

>>-+- -P ---+--port_number-------------------------------------><
   '- -PORT '                

port_number
The TCP/IP port number.