6.3. Getting the Admin Server Port Number

Logging into the Console requires the Admin Server URL along with a user name and password. The Admin Server has a standard HTTP address; the default is http://hostname:9830/. (If the Admin Server is using TLS/SSL, then the URL begins with https://.)
To find the port number for your Admin Server run this command:
# grep \^Listen /etc/dirsrv/admin-serv/console.conf

port goes after the colon in the Admin Server URL. If the Listen were 1132, the Admin Server URL would be http://hostname:1132.