I am trying to establish a connection to the cluster. Here is the code
var client = aerospike.client({
hosts: [ { addr: 'localhost', port: 3000 } ]
}).connect(connect_callback(err){
if (err.code != status.AEROSPIKE_OK) {
console.log("Aerospike server connection Error: %j", err);
}
});
Anyone know what's going on? Thanks