The parameters "-port=" and "-adminport=" are used to tell the Adminserver which ports to listen on for specific communications.
Where:
- The port referenced by the -port parameter, is the main AdminServer listening port, where all queries, and start/stop requests are sent for example when running: proapsv -query. The default AdminServer listening port is 20931 across all OpenEdge versions. If the default listening port is not being used, then it needs to be specified whenever calling the AdminServer: dbman -query -all -port <nondefaultport>
- The port referenced by the -adminport parameter, is the communication port between the servergroup and the AdminServer used by databases to register and communicate with the AdminServer. For example to re-connect to the AdminServer. For the default AdminServer communication port, please refer to Article What are the default ports used by the AdminServer?