MongoserverselectionerRor: Connect EconnRefused :: 1: 27017
// instead of this
const url = "mongodb://localhost:27017";
// Just Replace
const url = "mongodb://0.0.0.0:27017";
Lively Lyrebird