When installing a Proxy Server or when using dsconfig to set a Proxy Backend, using the Replication the description of the Replication Server Host : Port is confusing...
CLI argument :
Nowhere it is really specified about which port (and what protocol is used to access the port).
One would think that Replication Port 8989 is the proper one.
Then thinking about it, the point is about reading Configuration of the Replication Topology, which means LDAP... So 4444 would be the proper port to securely and surely access the config (and cn=admin data).
However, the only value that works is actually the plain LDAP port.
When the Replication Server is a standalone RS, there is a possibility that that port is not working.
Also, in a secure mode, Directory Manager cannot authenticate on a clear text connection. So unless StartTLS is used, this will not work either.
I think the proper way to establish the connection to the Replication Server is through the Admin Port (4444) which is secured but will require a Trust Manager.
We should also make sure that we are explicit in all messages and documentation of which Port we are talking about.