Mongodb connection error

  mongodb, question


The command line reported the following error


Local environment

Before, it was all connected at once.

If there are any big brothers who meet the problem, thank you first.

The error message is obvious. No mongod service is listening on port 27017 of your local loopback address, which means that your local mongod service process has stopped or exited abnormally. First check if the local mongod service process has started.