I have been trying to solve this for several hours now, the guides here are ridiculous since there is literally nothing to work off of. I start the mongod with the following conf file:
Setting auth to enabled makes me unable to start it.
with it running, I then try to connect using the following:
mongo admin -u m103-admin -p m103-pass
No matter what, I am always unable to connect, constantly giving me the following message:
MongoDB shell version v4.0.5
connecting to: mongodb://127.0.0.1:27017/admin?gssapiServiceName=mongodb
2020-12-18T17:17:11.774+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 :
exception: connect failed
I have no clue what I did wrong, and there are no materials to work off of since the videos barely explain things.