0

I am working on a MEANJS project where I need to connect with two different MongoDB server.

Currently, I am trying to disconnect from one server and connect to another but it says "Error: Trying to open unclosed connection.". I am using Mongoose module for db activity.

What is the approach to work with multiple Mongodb server?

Thanks in advance.

Anuranjan Pandey
  • 132
  • 2
  • 11

0 Answers0