I can not connect mongodb

2,205 views
Skip to first unread message

Oliver Arthur

unread,
Apr 22, 2014, 2:03:44 PM4/22/14
to mongod...@googlegroups.com
C:\mongodb\bin>mongo.exe
MongoDB shell version: 2.6.0
connecting to: test
2014-04-22T20:01:01.036+0200 warning: Failed to connect to 127.0.0.1:27017, reas
on: errno:10061 No se puede establecer una conexión ya que el equipo de destino
denegó expresamente dicha conexión.
2014-04-22T20:01:01.042+0200 Error: couldn't connect to server 127.0.0.1:27017 (
127.0.0.1), connection attempt failed at src/mongo/shell/mongo.js:146
exception: connect failed

Justin Lee

unread,
Apr 22, 2014, 2:42:32 PM4/22/14
to mongod...@googlegroups.com
make sure you've started your server first.


--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/4f9c7e07-5a39-4604-b973-f6a9833dbcb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Oliver Arthur

unread,
Apr 24, 2014, 4:25:51 AM4/24/14
to mongod...@googlegroups.com
Hi Justin, 

Thanks for answering my questions, 

But I started my server and still I get the same error

Asya Kamsky

unread,
Apr 27, 2014, 11:57:13 PM4/27/14
to mongodb-user
Is the server successfully running?   On the same port this shell is trying to connect on?
Do you have the mongod log snippet to show, maybe there are some clues there?

Asya



--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
Reply all
Reply to author
Forward
0 new messages