Couldn't able to connect to elasticsearch via XDCR


#1

Hi Team,
while am trying to connect to elasticsearch from couchbase am getting the below error, what would be the reason for this ?
Error : Attention: Could not connect to “xxx.xxx.x.xx” on port 9091. This could be due to an incorrect host/port combination or a firewall in place between the servers.

i have configured the credentials , host and port in elasricsearch.yml file
couchbase.username: Test
couchbase.password: password
couchbase.maxConcurrentRequests: 1024
couchbase.port: 9091
network.host: xxx.xxx.x.xx


#2

Hello,

Have you check the port 9091 is open? Maybe you can check with netstat.
Also are you following this document https://docs.couchbase.com/server/4.5/connectors/elasticsearch-2.1/install-intro.html