I want to configure a multi-master replication between two instances of Opendj on two different machine: the first is on localhost, the second is on virtualbox. I have Opendj installed on both machines. I can't enable replication because I don't know how to connecto to the virtual station. The command:
./bin/dsreplication enable --host1 work_station --port1 4444 --bindDN1 \
"cn=Directory Manager" --bindPassword1 password --replicationPort1 8989 \
--host2 virtual_station --port2 4444 --bindDN2 "cn=Directory Manager" \
--bindPassword2 password --replicationPort2 8989 --adminUID admin \
--adminPassword password --baseDN "dc=example,dc=com" -X -n
gives me the output:
Establishing connections .....
Could not connect to virtual_station:4444. Check that the server is running and
that it is accessible from the local machine. Details: virtual_station:4444