How to fix MongoDb connection issue with nestjs
Error: failed to connect to server [localhost:27017] on first connect [Error: connect ECONNREFUSED ::1:27017
when you install MongoDB on a local pc and you will see the server path like this :mongodb://localhost:27017
but whatever you try your angular/nestjs application to connect using this link then you get error
const url = "mongodb://localhost:27017";
Use this: Remoe localhost from url
const url = "mongodb://0.0.0.0:27017";
Share This with your friend by choosing any social account
Jack Carter
2 hours agoi think that some how, we learn who we really are and then live with that decision, great post!
you can view the more detail via link https://www.youtube.com/watch?v=HpZgwHU1GcIChing xang
2 hours agoi think that some how, we learn who we really are and then live with that decision, great post!
Danial Comb
2 hours agoi think that some how, we learn who we really are and then live with that decision, great post!
Jack Carter
2 hours agoi think that some how, we learn who we really are and then live with that decision, great post!