4

I have a Meteor app running on localhost:3000.

Trying to connect to it with Robomongo results in "Authorization skipped by you" failure.

enter image description here.

My settings are identical to the ones posted in this answer, so I didn't touch any of the other config tabs.

Community
  • 1
  • 1
montecruiseto
  • 544
  • 3
  • 11

6 Answers6

9

Shouldn't be a problem. Can you save the connection and connect to Mongo?

Firdaus Ramlan
  • 1,146
  • 8
  • 11
  • 1
    Yes bizarrely enough, now it works. Testing fails, but exiting the edit dialogue and connecting from the main panel works. – montecruiseto Jun 06 '15 at 08:44
  • There is obviously some kind of authorization. Skipping it does not solve the problem for me. On connection attempt : Cannot connect to MongoDB, error: Unable to connect to MongoDb – user3198079 Sep 12 '15 at 04:52
0

First Save the connection in Robomongo

  • please make sure that your project is run in the local host .
  • and open the Robomongo GUI tool and open the save connection.
Manjeet Thakur
  • 2,288
  • 1
  • 16
  • 35
0

You should see the file /etc/mongodb.conf, and configure with that information.

In my case, i bad wrote the mongodb port, and corrected this and it worked.

The default port is 27017

0

Actually you don't connect Robomongo with your meteor app but just with the MongoDB itself.

Default address is: localhost
Default port: 27017

Authentication is not needed

asdf
  • 952
  • 14
  • 13
0

be sure that you have entered a correct ip address. I have enterd an incorrect ip was getting same responce.

-1

Edit

/etc/mongod.conf

Comment in

bind_ip = 127.0.0.1

to

#bind_ip = 127.0.0.1

save.

Restart service:

service mongod restart

You are done.

Sinan Eldem
  • 5,564
  • 3
  • 36
  • 37
  • Do not EVER comment out bind_ip = 127.0.0.1!!!!! You can add other IPs to it, but if you comment out bind_ip you are creating a potential security vulnerability allowing public access to your mongodb server. See mongodb security checklist here https://docs.mongodb.com/manual/administration/security-checklist/#limit-network-exposure – xiao Jan 05 '17 at 18:02