mongodb – Mongo waiting on 27017 even after reinstall

mongodb – Mongo waiting on 27017 even after reinstall

The waiting for connections message in the console output indicates that the mongod.exe process is running successfully.

http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/?_ga=1.82566930.525730850.1428016333

Next you need to connect to MongoDB through mongo.exe shell using another command promt.

As soon as you are done with that, the waiting message in first console would change to connection accepted.

Hope that helps 🙂

For Mac users, if you have same issue then go open a new terminal window apart from the one already open and waiting for connection, go to /usr/local/bin and type ./mongo

mongodb – Mongo waiting on 27017 even after reinstall

Later, to stop MongoDB, press Ctrl + C in the terminal where the mongod instance is running.

Leave a Reply

Your email address will not be published.