Com.aerospike.client.AerospikeException$Connection: Error Code 11: Failed to connect to host(s):


#1

Getting the following error while trying to connect to aerospike database

com.aerospike.client.AerospikeException$Connection: Error Code 11: Failed to connect to host(s): 
com.aerospike.client.AerospikeException$Connection: Error Code 11: Failed to connect to host(s): 
14:56:56,606 ERROR [stderr] (Thread-83) localhost:3000 Error Code 11: java.net.ConnectException: Cannot assign requested address
14:56:56,606 ERROR [stderr] (Thread-83) 
14:56:56,606 ERROR [stderr] (Thread-83)     at com.aerospike.client.cluster.Cluster.seedNodes(Cluster.java:404)
14:56:56,606 ERROR [stderr] (Thread-83)     at com.aerospike.client.cluster.Cluster.tend(Cluster.java:273)
14:56:56,607 ERROR [stderr] (Thread-83)     at com.aerospike.client.cluster.Cluster.waitTillStabilized(Cluster.java:238)
14:56:56,607 ERROR [stderr] (Thread-83)     at com.aerospike.client.cluster.Cluster.initTendThread(Cluster.java:148)
14:56:56,607 ERROR [stderr] (Thread-83)     at com.aerospike.client.AerospikeClient.<init>(AerospikeClient.java:209)
14:56:56,607 ERROR [stderr] (Thread-83)     at com.aerospike.client.AerospikeClient.<init>(AerospikeClient.java:150)

#2

Appears the client is attempting to connect to a server running on the local machine. Is Aerospike running locally?