How to set up a working XDCR replication thru Internet?


#1

Hi,

I have made a working replication thru my local network, with 2 windows 10 computer, couchbase server CE 5.0.1 and 5.1.1. SO I found how properly configure Windows defender Firewall, opening the 3 ports 8091, 8092, 11210, following the documentation.

I’m trying to do the same between a windows server 2016 and a windows 10 computer thru internet.

On the windows server 2016 side, the physical firewal is open for the 3 ports. I think it’s good because of the result of an nmap command (fired from a third linux server with internet access) I have:

nmap -p T:8091,8092,11210 Server2016IP

Starting Nmap 7.40 ( https://nmap.org ) at 2018-09-13 14:47 CEST
Nmap scan report for … (Server2016IP)
Host is up (0.029s latency).
PORT STATE SERVICE
8091/tcp open jamlink
8092/tcp open unknown
11210/tcp open unknown

Nmap done: 1 IP address (1 host up) scanned in 1.45 seconds

On the Windows 10 side, The 3 external ports are redirected to my computer. The result of an nmap command (fired from a third linux server with internet access) I have:

nmap -p T:8091,8092,11210 WINDOWS10IP

Starting Nmap 7.40 ( https://nmap.org ) at 2018-09-13 14:52 CEST
Nmap scan report for … (WINDOWS10IP)
Host is up (0.035s latency).
PORT STATE SERVICE
8091/tcp open jamlink
8092/tcp open unknown
11210/tcp open unknown

The replication is launch on the windows server 2016 side, and give me this error :

2018-09-13 15:15:53 127.0.0.1:dial tcp 192.168.1.66:11210: i/o timeout

the IP 192.168.1.66 is the internal permanent IP of my windows 10 computer.

Note that frow the windows server side, I’m able to acess to the couchbase server web console of my windows 10 computer, that means that firewall is open and the redirections in my router are working. Idem for the reverse case.

Why it isn’t working ? Is there a tool to test the path and to explain where is the problem ?

Regards

Steeve


#2

Hi,

Someone with knowledge about XDCR replication maybe ?

Steeve