Try OpenEdge Now
skip to main content
Database Administration
Database Basics : Starting Up and Shutting Down : Starting a server or broker : Accessing a server behind a firewall
 
Accessing a server behind a firewall
The OpenEdge RDBMS allows you to use the Minimum Dynamic Server Port (-minport) and the Maximum Dynamic Server Port (-maxport) server startup parameters to provide client access to a server that is behind a firewall. This communication is possible only when access to the server can be limited. You supply this limit when you specify a group of port numbers with the -minport and -maxport parameters.
For example, suppose you start the following two login brokers:
proserve db -S demosv1 -H myhost -minport 4000 -maxport 4040
proserve db -S demosv2 -H myhost -minport 4041 -maxport 4080 -m3
A client requesting a connection from the first broker, demosv1, is assigned a port number in the range of 4000 to 4040. The 4000-to-4040 range limits access to the server by limiting communication to just 41 ports.
The default for -minport is 1025 for all platforms. Ports lower than 1025 are usually reserved for system TCP and UDP. The default for -maxport is 2000 for all platforms. Remember that some operating systems choose transient client ports in the 32,768-to-65,535 range. Choosing a port in this range might produce unwanted results.