We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
If you get the following error:
pymongo.errors.ConnectionFailure: could not connect to localhost:27017: [Errno 111] Connection refused
It’s because you don’t have enough free space (cat /var/log/mongodb/mongodb.log)
cat /var/log/mongodb/mongodb.log
To resolve this, you can run mongodb with the --smallfiles flag, using the following command:
--smallfiles
sudo mongod --smallfiles