ConnectionFailure in mongodb

Traceback (most recent call last):
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/", line 473, in spawn_worker
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/workers/", line 100, in init_process
    self.wsgi =
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/app/", line 106, in wsgi
    self.callable = self.load()
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/app/", line 27, in load
    return util.import_app(self.app_uri)
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/gunicorn/", line 353, in import_app
  File "/edx/app/edxapp/edx-platform/lms/", line 33, in <module>
  File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/", line 319, in modulestore
  File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/contentstore/", line 28, in contentstore
    _CONTENTSTORE[name] = class_(**options)
  File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/contentstore/", line 42, in __init__
    port=port, tz_aware=tz_aware, user=user, password=password, proxy=proxy, **kwargs
  File "/edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/", line 50, in connect_to_mongodb
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/pymongo/", line 425, in __init__
    raise ConnectionFailure(str(e))
ConnectionFailure: [Errno 111] Connection refused

I think we’ll need a lot more information to understand what the issue is here.
Is this running in the devstack? Can you see if perhaps the MongoDB container has stopped?
How does your server usually conntect to MongoDB. Is it running on the same server? Can you check if the MongoDB server is still available.

Could you share more information about your setup?

found a temporary solution. here
but this issue coming several times a day.
for configuration information. using native installation ubuntu 16.04 ironwood.