I'm currently using a database instance from Neo4j Aura. That works fine when trying to connect my Node GraphQL server locally or from Heroku.
However, when I deployed my GraphQL server to a docker container, I'm getting the following error:
Neo4jError: Failed to connect to server. Please ensure that your database is listening on the correct host and port and that you have compatible encryption settings both on Neo4j server and driver. Note that the default encryption setting has changed in Neo4j 4.0. Caused by: getaddrinfo ENOTFOUND <my-database>.databases.neo4j.io
Is there some setting I'm overlooking?
My env var for the neo4j connection is "neo4j+s://<my-database>.databases.neo4j.io"
Solved! Go to Solution.