7.4. Getting the Administration Server Port Number
Logging into the Console requires the Administration Server URL along with a username and password. The Administration Server has a standard HTTP address; the default is http://hostname:9830/. (If the Administration Server is using TLS/SSL, then the URL begins with https://.)
To find the port number for your Administration Server run this command:
grep \^Listen /etc/dirsrv/admin-serv/console.conf
Listen 0.0.0.0:port
port goes after the colon in the Administration Server URL. If the Listen were 1132, the Administration Server URL would be http://hostname:1132.