PingDS

Listen addresses

When configuring a server on a multi-homed system with multiple IP addresses, you can specify the listen addresses. For this to work correctly, specify one advertised address and have DNS assign to it an IP address on each network of each listen address.

By default, the replication server listens on all network interfaces.

The following example configures the server to listen only on 192.168.0.10 for all connections:

$ dsconfig \
 set-replication-server-prop \
 --provider-name "Multimaster Synchronization" \
 --set listen-address:192.168.0.10 \
 --hostname localhost \
 --port 4444 \
 --bindDN uid=admin \
 --bindPassword password \
 --usePkcs12TrustStore /path/to/opendj/config/keystore \
 --trustStorePassword:file /path/to/opendj/config/keystore.pin \
 --no-prompt

Learn more in listen-address.