Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Can't connect to Mongodb #8

Closed
whipped5000 opened this issue Aug 25, 2020 · 2 comments
Closed

Docker Can't connect to Mongodb #8

whipped5000 opened this issue Aug 25, 2020 · 2 comments

Comments

@whipped5000
Copy link

Hi there,

Tried running the docker container, but it couldn't connect to the mongod instance.

Modified config/datastores.js line to read

url: 'mongodb://mongodb/urlTracker'

and it worked a treat

@ahussam
Copy link
Owner

ahussam commented Aug 26, 2020

Hi @whipped5000,

Weird this is the first time someone reports this! However, I will modify the code in the next commit.
Try to replace url with 'mongodb://localhost:27018/urlTracker' this may work too.

@ahussam ahussam closed this as completed Aug 26, 2020
@mazdafunsunn
Copy link

Had same problem and @whipped5000 solution worked for me as well.
Docker on Debian 9

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

No branches or pull requests

3 participants