I am using this example and it runs fine. But if I spin up another couchbase server like
docker run -d --name db2 -p 8095-8098:8091-8094 -p 11211:11210 couchbase
The output would be that I would have 2 couchbase clusters with 1 node each 172.17.0.2 and 172.17.0.3 respectively.
According to the example if I dont mention any node address then it connects to the couchbase on 8091 and then business as usual. But I cannot connect to the second couchbase cluster.
using (var cluster = new Cluster(new ClientConfiguration
{
Servers = new List<Uri>
{
new Uri("http://127.0.0.1:8095")
}
}))
How do I connect to both first and second couchbase clusters from my .NET app?