Database Crashes

Current Mongosh Log ID: 6502b9718661819c4a199cf2

Connecting to: mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+1.10.3

MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017

for several times I am getting this error, and reinstalling mongodb, I am using the local mongodb version, which shows the error

What OS are you running and have you verified that the server is running locally?

I’m assuming you installed the server package as well as the mongosh package?

Yes, actually the db worked fine till today and suddenly this happened

Ok, what do the server logs say then? Does it show a crash reason?