-tcpport tcpip-port-numbertcpip-port-number: A positive integer; however, TCP/IP port numbers under 1000 are often reserved by your platform and should be avoided for use with G2.
If the new G2 process cannot open a connection to the specified port, this option also directs G2 to attempt to open a connection to the G2 default TCP/IP port
1111. If this is not successful, G2 increments the port's last digit (to 1112), attempts to connect to that port, and so on. G2 stops after trying to connect to TCP/IP port 1210-that is, after incrementing the G2 default TCP/IP port number 100 times.
-tcpipexact option in the command line modifies how the new G2 process attempts to open a TCP/IP network connection. See the section tcpipexact.
Example
This command starts a G2 process that attempts to open a network connection to TCP/IP port 1711:
g2 -tcpport 1711