Я запускаю эту команду C:\Program Files\MongoDB\Server\4.2\bin\mongo.exe
Запустите мой mongoDB, но он показывает эту ошибку:
MongoDB shell version v4.2.5
connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
2020-04-17T18:28:32.535+0530 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:341:17
@(connect):2:6
2020-04-17T18:28:32.541+0530 F - [main] exception: connect failed
2020-04-17T18:28:32.541+0530 E - [main] exiting with code 1
Мой компас mongoDB тоже не подключается ..