0

I have seen the Quickstart Windows and downloaded mongodb-win32-i386-2.0.4.zip and this error appears when I run mongo.exe:

Error: couldn't connect to server 127.0.0.1 shell/mongo.js:84   
exception: connect failed  

What should I do? Do I need to download something else?

1
  • You started the Mongo shell client. Do you also have a server (mongod) running?
    – Thilo
    Commented Apr 27, 2012 at 0:08

2 Answers 2

1

mongo.exe is the Mongo Shell, which will attempt to connect to the server at localhost:27017 unless you explicitly specify another server and port.

The one you're after is mongod.exe (notice the 'd'?), which is the MongoDB Server.

0

I think maybe you did not start your Mongo DB server.

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.