odziem / nasa-project

Node.js NASA Mission Control Final Project
185 stars 368 forks source link

Getting mongodb connection error in docker container #12

Open Amitrout17 opened 1 year ago

Amitrout17 commented 1 year ago

Error log :

MongooseServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017

I am getting this error while running the application in docker container, but working file when running directly in local environment by writing npm run watch in terminal.