Hi,
I’m really new to MongoDB and I’m trying to connect to MongoDB locally in order to be able to develop a project but am coming into issues that I don’t really understand, so hoping for some help.
I am installing for Mac OS and followed the instructions on https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/
I ran brew services start mongodb-community@5.0
and then ran brew services list
and I have the following error:
“mongodb-community error 12288 root ~/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist”
Looking in the log file I can see the error:
{"t":{"$date":"2022-03-03T07:50:40.907-05:00"},"s":"E", "c":"CONTROL", "id":20568, "ctx":"initandlisten","msg":"Error setting up listener","attr":{"error":{"code":9001,"codeName":"SocketException","errmsg":"Address already in use"}}}
Let me know if you need anymore information. This is my first time setting up something like this so I am a bit out of my depth.
Thanks