I am using macOS Big Sur. I have installed mongodb-community@4.4 server on mac recently with help of MongoDB Homebrew Tap. After successful installation, I run “brew services start mongodb/brew/mongodb-community” on terminal. I receive below result :
Successfully started mongodb-community
(label: homebrew.mxcl.mongodb-community)
But, when I check for running server with “brew services list”, I get below status :
mongodb-community error nileshpanhale /Users/nileshpanhale/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist
And if I try to connect server with “mongo” shell the I get below error :
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:374:17
As I am new to macOS and MongoDB. Request you to please help me on an urgent basis with the stepwise solution. Due to this error, my development is completely stopped.
Thanks in advance.