To connect to a manager on a Windows computer through a different TCP port, use the -p option followed by the TCP port number.
For example, to export the policy in Example 2 using TCP port 3812, type the following:
policytool export gs0100 "Security Officer" my1pass+ phase1.xml "Phase 1" -p 3812
To import the policy that is exported in this example to the GS0200 manager using TCP port 3812, type the following:
policytool import gs0200 "Security Officer" my2pass+ phase1.xml -p 3812