T
T
Taras Kurbatov2017-12-10 19:24:23
MongoDB
Taras Kurbatov, 2017-12-10 19:24:23

How to run two mongodb servers on one pc?

Tell me how to run two mongoDB servers on one PC?
You need to run two mongo servers, one is already configured and works by default with port 27017.
The second is needed for sharding in MongoDB.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2017-12-10
@dimonchik2013

change port and directories

E
Eugene, 2018-01-03
@nimfai

As mentioned above, you need to change the port on which the monga runs and the directories where it will store the data and logs themselves.
See off. documentation
You can also easily google the translation into Russian for installing mongi

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question