OpenEdge 10.2B and later:Since OpenEdge 10.2B, the DataServer Broker was enhanced to have the capability of configuring and thereby limiting port range for servers:
- These ports are allocated dynamically, finding the first available port starting from srvrMinPort / dsminport to srvrMaxPort / -dsmaxport .
- The ports are reusable, ie. ports are released when clients disconnect and reused when new clients connect.
- The number of available ports in the port range only needs to correspond to the number of maximum clients.
1. _probrkrStart the _probrkr with the
-dsminport and
-dsmaxport parameters to limit server port range:
$ _probrkr -S <service-name> -H <host-name or IP> -dsminport 7000 -dsmaxport 9000
2. Unified broker Configure the portrange with the
srvrMinPort and
srvrMaxPort configuration entries
in ubroker.properties file
[UBroker.OR]
# for all Oracle DataServers
srvrMaxPort=5000
srvrMinPort=4000
[UBroker.OR.orabroker1]
# for specific Oracle DataServers
srvrMaxPort=5000
srvrMinPort=4450
[UBroker.MS]
# for all MSS DataServers
srvrMaxPort=4000
srvrMinPort=3000
[UBroker.MS.mssbroker1]
# for specific MSS DataServers
srvrMaxPort=4000
srvrMinPort=3350
3. For sites that need to control ports through Firewall:If this port range is larger than the open port range on the Firewall, a port could be allocated that is not open on the Firewall. In a firewall environment:
- One way TCP must be enabled for the ODBC port for the data source need to be open to client connection
- Two way or bi-directional TCP must be enabled for the port range between the client and database and client
Progress 9.1E, OpenEdge 10.1x and 10.2A:
- These versions have no capability to limit the port range for the server processes of the DataServer Broker either using probroker or unified broker.
- The DataServer Broker(s) dynamically assign the server port(s)
- The minimum and maximum port range can not be configured for communications across a firewall.
- For UNIX/LINUX platform, the default range is {1025 ... 2000}
- For Windows platform, the default range is {3000 ... 5000}
- For the versions that do not have port range support, even though unified data server broker does not support min and max server ports, Progress Explorer does have these fields but they are not updatable. The help information for these DataServer Brokers in Progress Explorer is wrong in saying these entries control min and max server ports.