Ruby client connection refused using node_list
I have set up couchbase on 2 servers(192.168.56.4 & 192.168.56.5) both in the same bucket(default). I'm able to connect to each individually, but not when passing the node_list arg as shown below:
It connnects when I do so:
client = Couchbase.connect("http://192.168.56.4:8091/pools/default")
client = Couchbase.connect("http://192.168.56.5:8091/pools/default")
but I get a refuse connection error when I try:
c = Couchbase.connect( :pool => "default", :port => 8091, :node_list => ['http://192.168.56.4', 'http://192.168.56.5'])
c = Couchbase.connect( :pool => "default", :port => 8091, :node_list => ['192.168.56.4', '192.168.56.5'])
c = Couchbase.connect( :pool => "default", :node_list => ['http://192.168.56.4:8091', 'http://192.168.56.5:8091'])
AND with other combinations that I have tried...
I was taking a look on the client source code and couldn't find anything related to this node_list arg. Is it still supported(since we can still find this option on the documentation)?
So, any ideas on what am I doing wrong?
BTW, just in case anyone asks, they seem to be working properly when it comes to replicate the data between themselves.