the lab question asks:
- Connect to a mongod instance that is already running in the background on port 27000 . You can find the options used to launch mongod in the configuration file in your file editor.The m103-admin user has also already been created for you with password m103-pass.
but when i issue:
mongo --username m103-admin --password m103-pass
i get this error:
2022-01-15T14:03:06.037+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:328:13 @(connect):1:6 exception: connect failed