Detail about the issue.
I have converted my MongoDB instance to a standalone ReplicaSet using the following config.
Using the following Mongo URI to connect to my MongoDB instance
using the URI I can connect to my MongoDB through Studio3T but when I use this URI in my Node app through Mongoose it never connects, nor gives any error.
Following are the Screenshots for rs.status() output displaying details of member
member data from rs.status
NodeJs version: v14.19.1
Mongoose version: 6.3.2
MongoDB version: 5.0.7