Skip to content

Problem using Hasura with local MongoDB #10147

Discussion options

You must be logged in to vote

@toccibkfs Can you check to make sure your MongoDB server is accessible from inside the mongo-data-connector service container? It is that container that is attempting to connect to MongoDB.

Keep in mind that you will probably need to use host.docker.internal as the DNS name in your connection string (see the Docker documentation), as Hasura is trying to connect to MongoDB running on your host from the service running inside the mongo-data-connector container.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dameleney
Comment options

You must be logged in to vote
1 reply
@manasag
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants