1. Install both the mongodbs with different instance name
2. stop one of the service.
3. edit mongod.cfg file change port from 27017 to 27018.
4. start the service that was stopped
Connection strings
-------------------
mongodb://locahost:27017
mongodb://locahost:27018
A repository of my thoughts, a blog, a source to get insight, know-hows, my views on Software Development and everything else in between......
Showing posts with label installation. Show all posts
Showing posts with label installation. Show all posts
Tuesday, October 19, 2021
Running 2 different versions of Mongodb in windows 10
Subscribe to:
Posts (Atom)