version-manager
version-manager copied to clipboard
Connection refused
I get a connection error below:
C02TL289G8WL:~ akarpov$ mongo MongoDB shell version v3.4.0 connecting to: mongodb://127.0.0.1:27017 2019-05-03T12:41:01.599-0500 W NETWORK [main] Failed to connect to 127.0.0.1:27017, reason: Connection refused 2019-05-03T12:41:01.601-0500 E QUERY [main] Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed : connect@src/mongo/shell/mongo.js:234:13 @(connect):1:6 exception: connect failed
There is a related link to mongodb-runner. Download the mongodb-runner as well. With it, you start the mongo.
https://github.com/mongodb-js/runner