I just started learning MongoDB. When I run for the first time, I get an error. MongoDB 4 version Windows 10 x64
MongoDB shell version v4.0.1 connecting to: mongodb://127.0.0.1:27017 2018-08-13T00:15:54.149+0300 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 :: No connection could be made because the target machine actively refused it. : connect@src/mongo/shell/mongo.js:257:13 @(connect):1:6 exception: connect failed
mongod
, the server. – Sergio Tulentsev