Chapter 1 lab Creating your first application user

I tried to connect on that user using this command:

 mongod --config mongod.conf

However,the console said:

MongoDB shell version v4.0.5
connecting to: mongodb://
2022-05-11T19:02:18.439+0000 E QUERY    [js] Error: couldn't connect to server, connection attempt failed: SocketException: Error connecting to :: caused by :: Connection refused :
exception: connect failed

Answered in you other thread. Please do not post the same question multiple time. It slows down everyone by have to click and read duplicate information.