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
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
ERROR:
com.aerospike.client.AerospikeException$Connection: Error Code -8: Failed to connect to host(s): 10.64.213.61 3000 Error Code -8: java.net.NoRouteToHostException: No route to host
at com.aerospike.client.cluster.Cluster.seedNodes(Cluster.java:508)
at com.aerospike.client.cluster.Cluster.tend(Cluster.java:401)
at com.aerospike.client.cluster.Cluster.waitTillStabilized(Cluster.java:356)
at com.aerospike.client.cluster.Cluster.initTendThread(Cluster.java:262)
at com.aerospike.client.cluster.Cluster.<init>(Cluster.java:219)
at com.aerospike.client.AerospikeClient.<init>(AerospikeClient.java:232)
at com.lara.test.TestClient.main(TestClient.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Can the client access port 3000 on the server?
timeout 2 bash -c "</dev/tcp/174.22.0.3/3000"; 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.