LocalLY hosted mongo db and mongoose Connection Error ECONNREFUSED
I was using the following code to connect to locally hosted mongo db from express application using mongoose. But my connection was getting refused. After some reseach i come to know that instead of using localhost i should use 127.0.0.1 so i need to update my connection string as follows to fix the issue.
Read More LocalLY hosted mongo db and mongoose Connection Error ECONNREFUSED