Connection issue


Dear team,

I am getting issue while try to connect with Aerospike from remote server. But all are working fine if my client is in same server with aerospike.

Both servers are reachable from each other.

Please suggest, I am new in this Databases



com.aerospike.client.AerospikeException$Connection: Error Code -8: Failed to connect to host(s): 3000 Error Code -8: No route to host

    at com.aerospike.client.cluster.Cluster.seedNodes(
    at com.aerospike.client.cluster.Cluster.tend(
    at com.aerospike.client.cluster.Cluster.waitTillStabilized(
    at com.aerospike.client.cluster.Cluster.initTendThread(
    at com.aerospike.client.cluster.Cluster.<init>(
    at com.aerospike.client.AerospikeClient.<init>(
    at com.lara.test.TestClient.main(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(


Can the client access port 3000 on the server?

timeout 2 bash -c "</dev/tcp/"; echo $?

Are you running in a cloud environment such as AWS?

Are you using docker?


Thanks Kpoter,

I am using HP server for this testing and your command is working fine. Even I am able to connect Aerospike DB with AMC console. Is there any setting required in the configuration?


Were you able to resolve this issue? You mentioned a configuration issue in another thread.


yes, This issue has been fixed. It was configuration mistake.