-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.4
-
Component/s: None
-
Labels:
-
Environment:Windows OS
Nodejs v0.10.31
-
Empty show more show less
Connection with a replicaset fails with error:
[Error: failed to connect to [localhost:27016]]
MongoClient.connect("mongodb://localhost:27016/test,localhost:27017/test,localhost:27018/test",
function(err, db) {
if (err)
console.log(err);
else
console.log('Connected with MongoDB');
});