Installation of first went well.
But during the installation on the second server, I am unable to join the cluster. Here is what I have filled in:
Hostname: hostname2.platon.sk
Join a cluster now:
IP Address: 192.168.1.1
Username: administrator
Password: *********
And the error message is:
Attention - Failed to reach erlang port mapper. Timeout connecting to “hostname2.platon.sk” on port “4369”. This could be due to an incorrect host/port combination or a firewall in place between the servers.
Why it is connecting to hostname2.platon.sk, when it should be connection to 192.168.1.1? Seems like an instalator bug for me.
Chances are this indicates hostname2 has a blocked port. Yes, you’re initiating it with 192.168.1.1 but then they both have to contact each other at the erlang portmapper. You should verify (say, with telnet) that the port is reachable bidirectionally.
They can contact each other – indeed I verified this using telnet.
Maybe the problem is that I want replication to run over LAN (192.168.1.x), but I managed this through public interface with public IP address.
So I realized that something like this is not possible with Couchbase. So I went to server hostname1 and tried that manally from command line, but that does not work either: