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.

-PORT command syntax

Read syntax diagramSkip visual syntax diagram  -P  -PORT port_number
port_number
The TCP/IP port number.