Learn Android for Free,issues for developers, mobengineers website provide complete solutions for developers issues posts.It also provides online training for android development

Saturday, January 23, 2016

MongoDB Failed to connect to, reason: errno:61 Connection refused

MongoDB shell version: 3.0.7
connecting to: test
2016-01-23T21:14:51.955+0530 W NETWORK  Failed to connect to, reason: errno:61 Connection refused
2016-01-23T21:14:51.957+0530 E QUERY    Error: couldn't connect to server (, connection attempt failed
    at connect (src/mongo/shell/mongo.js:179:14)
    at (connect):1:6 at src/mongo/shell/mongo.js:179
exception: connect failed

***aborting after invariant() failure


Run mongodb with sufficient permissions.

$ sudo mongod


  1. Very good information from your site Sarkari Result please keep updating it daily


  2. Got this issue in mac

    Mongoldb instance is running in the system.

    Stop the server

    $mongo admin --eval "db.shutdownServer()"


20% off

Online Training

Your Name :
Your Email: (required)
Your Message: (required)

NDTV Gadgets360

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts