mongodb not working after Lightsail MEAN instance upgrade

0

Create a new Lightsail MEAN instance(2GB ram) using snapshot from another Lightsail MEAN instance (512mb ram). Both instances are in same region. Everything working as except mongo db.

I am getting this error when trying to connect to MongoServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017

I tried to start mongo - sudo service mongodb start and getting below message Failed to start mongodb.service: Unit mongodb.service not found.

mongo was working in the previous instance. Should we do anything else after creating an instance from snapshot?

Any help is truly appreciated.

paul
質問済み 2年前212ビュー
1回答
0

Not sure about what caused this. I created another instance from a previous snapshot and it worked magically. Strange though.

paul
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン