Ephemeral ports

When running with multiple transport providers, just as it is necessary to synchronize PORT reservations for specific applications across all stacks, it is required to synchronize reservations for port numbers that will be dynamically assigned across all stacks. These are the ephemeral ports above 1023, which are assigned by the stack when none is specified on the application bind(). To reserve a group of ports in the PROFILE.TCPIP, use PORTRANGE. For more information about PORTRANGE, see TCP/IP Customization. Specify the same PORTRANGE for every stack. In addition, you must let the z/OS® UNIX CINET know which ports are guaranteed to be available on every stack. The following example reserves ports 40000 - 41999 in the two required files: