Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect using Robomongo #1122

Closed
dyxj opened this issue Sep 11, 2016 · 5 comments
Closed

Connect using Robomongo #1122

dyxj opened this issue Sep 11, 2016 · 5 comments

Comments

@dyxj
Copy link

dyxj commented Sep 11, 2016

Hello,

I've managed to deploy succesfully using mupx, using abernix/meteord:base.
I can access the mongodb using: docker exec -it mongodb mongo Project-A-database,
But I can't seem to connect using robomongo.

Any pointers would be greatly appreciated

Thanks!!!

@avishaan
Copy link

I think this was asked somewhere else (possibly by me) but basically you won't be able to do it. Maybe in a future version you will

@dyxj
Copy link
Author

dyxj commented Sep 12, 2016

Hey, I've figured it out, I got myself the latest version of robomongo.

  1. Use the SSH function
  2. key in localhost for the connection(first tab)
  3. fill in the auth

@luisreyes
Copy link

luisreyes commented Sep 29, 2016

You cannot access a mongodb from robomongo if the db is in a docker container...
But you can use a free or paid db from mlab.com.

MUP.JSON (part of it at least)

"setupMongo": false,
  "appName": "YOURAPP",
  "app": "/YOUR/APP/PATH",
  "env": {
    "ROOT_URL": "https://YOURAPPDOMA.IN/",
    "MONGO_URL": "//mongodb://username:password@xxxx.mlab.com:xxxx/YOURAPP"
  }

After this you can setup robomongo to point to the mlab db.

@avishaan
Copy link

avishaan commented Sep 29, 2016

Let me clarify my statement. With some versions of MUP you can't, with other versions you can. What @luisreyes says is correct. If you want more detailed instructions you can check out my blog post which walks you through it using 3T MongoChef. Similar instructions would work for Robo http://blog.codehatcher.com/mongodb-ssh-access-on-remote-meteor-deployment

@ericmagalhaes
Copy link

I was able to connect to my remote mongodb deployed by mup.
I use windows and I followed this steps.
https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-tunneling-on-a-vps
Windows and PuTTY
-- I created a SSH tunnel to a local port like 3030 then I connected to the database in robomongo using LOCALHOST:3030

@dyxj dyxj closed this as completed Jun 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants