How can we connect to the Neo4j AWS cluster from the local spring boot application?
Any reference code is very much appreciated as my code
neo4j://localhost:8082 or bolt+routing://localhost:8082 does the thing but still, it gives the error
Closing connection pool towards localhost(127.0.0.1):8082, it has no active connections and is not in the routing table registry
Hi. You already figured the correct Spring property, that's the correct way.
I assume that you are running a custom AWS instance / cluster.
Make sure you configure the correct advertised address: Configure connectors - Operations Manual
It must be the ones reachable from outside the AWS instance.
This is not a Spring Boot or Spring Data issue but it would happen if you use the plain driver to connect to the cluster as well.