![]() Due to this error, my development is completely stopped. Request you to please help me on an urgent basis with the stepwise solution. Mongodb-community error nileshpanhale /Users/nileshpanhale/Library/LaunchAgents/Īnd if I try to connect server with “ mongo” shell the I get below error :Įrror: 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 I am new to macOS and MongoDB. Successfully started mongodb-community (label: -community)īut, when I check for running server with “ brew services list”, I get below status : This will run the Mongo shell which is an application to access data in MongoDB. Now Run the Mongo shell, with the Mongo daemon running in one terminal, type mongo in another terminal window. After successful installation, I run “ brew services start mongodb/brew/mongodb-community” on terminal. To Start a Mongo process first run the Mongo daemon, in one of your terminal windows run mongod. I have installed server on mac recently with help of MongoDB Homebrew Tap.
0 Comments
Leave a Reply. |