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://
2018-11-26T11:41:05.698+0000 E QUERY [js] Error: couldn’t connect to server, connection attempt failed: SocketException: Error connecting to :: caused by :: Connection refused :
exception: connect failed

Can you help me ?

You are telling the shell to connect to a MongoDB instance running on your local host ( 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.