Client receives error message (1890) on attempted connection to a running database

Product: Progress
Version: 9.x
Product: OpenEdge
Version: 10.x, 11.x
OS: All supported platforms
Client receives error message (1890) on attempted connection to a running database
BROKER: Could not spawn a server. (1890)
Server cannot find a free port for a TCP socket. (1159)
4GL server process terminated. (8837)
When attempting  a connection using an undefined port,  as in the auto spawning of the database servers by the database broker, the process looks to see if the port selected by the broker is available .  The first place it checks is the services file and if it is found in the service file, used or not, it will not use that port. When setting the -minport and -maxport on startup of the database, the broker cannot connect with any ports in that range found in the services file, nor can it use any outside that range.  Thus when it runs out of ports in that range, it returns the errors as seen by this client and as seen in the database log file.
Either enlarge the range to allow for more available ports, move the range to one that has all ports available, or clean up unused entries in the services file for the range being used.
References to other documentation:

Progress Article(s):

000019670, What are the default -minport and -maxport values for Database server?
000012081, Why define specific minport maxport ranges?

10/18/2017 12:50 PM