question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] Clarification on Accessing Mongo

See original GitHub issue

Before I do a ton of time consuming auth setup experiments to verify what the README states – that You can't access the MongoDB from outside the server. – can I ask someone to clarify this statement and in general how we can interact with MongoDB when deploying with meteor-up?

Right now, I can access mongo on the same server but outside of the deployment. So I’m wondering exactly what is the issue with external access. Is it that the mongo instance can only be bound to 0.0.0.0 or what is it? I do not need to run any docker ... commands to access mongo which is contrary to the README.

Appreciate any answers and happy to pr documentation changes if there are any needed updates.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gjr-qmcommented, Feb 16, 2017

When you deploy Mongo with Meteor Up it spins up a seperate MongoDB container that is not accessible from the outside.

The way to get around it: I use RoboMongo with an SSH tunnel to connect to Mongo (you can configure that in the connection settings). You can also setup a tunnel manually of course, but i like RoboMongo for the job.

0reactions
JohnAllencommented, Feb 19, 2017

I have been planning on inserting content straight into the database – as a central data store that both apps can access. One app is a web-crawler, essentially, that inserts data into the database that is analyzed and is later served to users. I’ve just thought as the DB being the optimal way of inserting, analyzing and serving data, but I will think about other ideas some more. The data does need to be stored permanently for future display to users. I could perhaps restructure/refactor but would probably go a normal un-dockerized Mongo instance before I do that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Top MongoDB Interview Questions and Answers - Intellipaat
With these top hand-picked MongoDB interview questions, you will be able to prepare better for your MongoDB interview.
Read more >
30 Frequently Asked MongoDB Interview Questions and ...
Check out the list of Top 25 MongoDB Interview Questions and Answers that will guide you in your interview preparation and help to...
Read more >
Top 50+ MongoDB Interview Question & Answers for 2022
These MongoDB Interview Questions have been designed specially for freshers, intermediate and advanced level users to get acquainted with the nature of ...
Read more >
Clarification on scaling mongodb - Stack Overflow
Let's say I start with replica sets and each mongo server has a 500G hard disk attached to each one. What happens if...
Read more >
About Final Question 7 - M121: The MongoDB Aggregation ...
It would clarify your question if you use the fully namespace field name to explain your question. Try that and I'll try to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found