cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Cannot connect to Neo4j Aura database with Node server in docker container

DevDan
Node Link

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"

1 ACCEPTED SOLUTION

DevDan
Node Link

Didn't see a delete post option. My issue was the aura instance had stopped, so of course I couldn't connect.

View solution in original post

1 REPLY 1

DevDan
Node Link

Didn't see a delete post option. My issue was the aura instance had stopped, so of course I couldn't connect.