I am trying to do this on a CentOS box
policy := aerospike.NewClientPolicy()
// We need to request prole replicas in order to distribute
// reads across both master and prole nodes
policy.RequestProleReplicas = true
client, err := aerospike.NewClientWithPolicy(policy, "127.0.0.1", 3000)
I get the following error:
panic: Error while setting up aerospike db, with error: Failed to connect to host(s): [127.0.0.1:3000]; error: Failed to connect to host(s): [127.0.0.1:3000]. The network connection(s) to cluster nodes may have timed out, or the cluster may be in a state of flux.
The centos box is running Aerospike Community Edition 3.5.8.