Running 2 instances of Mongodb on a Single Server

by Lukhog   Last Updated September 11, 2019 11:01 AM

I am not a programmer and new to MongoDB; I have two different applications that should run on the same server and both must use MongoDB. I have installed mongodb and configured port, path using command prompt. I can confirm the service is running and I have also installed one of the applications succesfully. I made a copy of the bin in mongodb folder, I also configured the path and port but I noticed its only one service that still runs. Should it be one service or two at this point? I tried to install the second application using the new port configured for the second mongodb folder but I get a message that an application is using this service.

Pls what can I do?

Tags : sql mongodb


Related Questions


Updated June 11, 2015 07:00 AM

Updated June 22, 2017 18:01 PM

Updated July 20, 2017 00:01 AM

Updated February 28, 2017 16:01 PM

Updated August 09, 2017 20:01 PM