christabor / flask_jsondash

:snake: :bar_chart: :chart_with_upwards_trend: Build complex dashboards without any front-end code. Use your own endpoints. JSON config only. Ready to go.
MIT License
3.3k stars 302 forks source link

pymongo.errors.ServerSelectionTimeoutError pymongo.errors.ServerSelectionTimeoutError: localhost:27017 #225

Open ShaileshSarda opened 4 years ago

ShaileshSarda commented 4 years ago

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!.

chopinwong01 commented 1 year ago

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