Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
09-20-2021 10:15 PM
I am new to neo4j and I have an application built that talks to neo4j cluster running on kubernetes pods . whenever the neo4j hosts IP address changes i.e whenever the pods are restarted, the application still retries to resolve the hosts url to previous IP address which is no longer there.
I am using
NEO4j server version - neo4j-enterprise-3.4.5
NEO4j driver version - 1.7.5
Is there a way to make the application resolve the IP address dynamically without having to restart the application whenever the Neo4j hosts IP address changes. Please Help
09-22-2021 10:31 AM
Do you use a persistent connection, or reconnect to the db for each use? BOLT protocol?
Is the correct IP always resolvable by DNS? and are you using a DNS name? (or direct IP)
It would be helpful if you can post the code showing how you are connecting, and additional information about how the connection is used over time (questions above).
All the sessions of the conference are now available online