-
Notifications
You must be signed in to change notification settings - Fork 98
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
MongoError: getaddrinfo ENOTFOUND mongo mongo:27017 #87
Comments
Hello! Could you please provide an output of |
|
|
@alexeymarunin |
|
BTW, |
@alexeymarunin If it works you get something like this as a result of
Note the |
Folder
I removed all files (except .gitignore) and re-run docker - the same result
|
@alexeymarunin Your issue is connected with dockerized MongoDB which is using volumes. I think it would be faster if you try to google it by yourself. I found a couple of issues which looks pretty same I can suggest you disable using volumes for mongoDB. In this case you will loose your data on mongo container restart. To do so you need to delete lines 80 and 81 from |
Seems I fixed this bug |
@alexeymarunin Could you please tell me how did you fix your bug???? I have the same problem, my app service can connected to the volumed local mongodb, but no data retrieved. The error shows: " Server running on localhost:3000 |
@maiziheimei |
I was with the same problem and I solved added useUnifiedTopology: true, in const options = { |
Hi,
I'm trying run project during to README
JWT was generated successfully,
.env
was copied from.env.test
The text was updated successfully, but these errors were encountered: