First connexion test problem

when i try my first connexion i receive this message

MongoDB shell version v4.0.4
Enter password:
connecting to: mongodb://127.0.0.1:27017/mongo
2018-11-26T11:41:05.698+0000 E QUERY [js] Error: couldn’t connect to server 127.0.0.1:27017, connection attempt failed: SocketException: Error connecting to 127.0.0.1:27017 :: caused by :: Connection refused :
connect@src/mongo/shell/mongo.js:257:13
@(connect):1:6
exception: connect failed

Can you help me ?
Thanks

You are telling the shell to connect to a MongoDB instance running on your local host (127.0.0.1). To my knowledge, M220P makes use of Atlas instead of a local instance. Right?

Anywho: the Mongo shell is telling you that, while you told it to connect to port 27017 on the host in question, it cannot find a listening MongoD at that host+port.

You should check that mongod is running

@Gbenro_39146, that was @Tess_Sluijter answer with more details. It is also a 2 months old topic. So it should be left alone. Oh, I should I left it alone. Sorry.