Answer the question
In order to leave comments, you need to log in
Mongodb up and running?
Good afternoon! Started to deal with the Mongodb database. Before that, I did not work with any database.
And here a couple of questions immediately appeared.
Please explain how to make it available from anywhere.
Now it normally starts (mongod) from the standard Windows terminal, when I do it from the phpstorm terminal, it starts, but immediately exits and becomes unavailable. How to fix it?
Also, please tell me literature, lessons on working with it.
Thank you in advance)
Answer the question
In order to leave comments, you need to log in
First, configure the mongo on the external interface, the net.bindIp parameter. In this case, the mongo shell will be accessed by - mongo --host . It also does not hurt to adjust the access levels.
Also firewall rules.
It all depends on the environment where the impact occurs, if the local machine (closed network) then you can neglect the security settings.
Basically, the documentation is quite exhaustive, not understandable / not clear points to study separately.
It all depends on the environment - where and how monga is installed and how you are going to interact with it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question