christabor/flask_jsondash

pymongo.errors.ServerSelectionTimeoutError pymongo.errors.ServerSelectionTimeoutError: localhost:27017

ShaileshSarda opened this issue · 1 comments

Hi @christabor,
I am getting this error after clicking on "Visit the charts blueprint." under example section:

pymongo.errors.ServerSelectionTimeoutError
pymongo.errors.ServerSelectionTimeoutError: localhost:27017: [WinError 10061] No connection could be made because the target machine actively refused it

Thank You!.

My guess is that you may want to either edit the docker-compose.yml if running with docker or pass the current environmental variable, both for CHARTS_DB_HOST