Mongodb-community@6.0 launch

got the problem with launching mongod

shows me this.
What is the problem?

Your mongod is already up & running and you tried to start mongod again.Thats why the second run failed with address in use

Your mongosh prompt shows you successfully connected to your mongodb
Replace the file as suggested.Its an environment related file

1 Like