
Mongodb-community started julien /Users/julien/Library/LaunchAgents/-community. Juliens-iMac:~ julien$ brew services listĭocker-machine started julien /Users/julien/Library/LaunchAgents/ T11:47:04.088+0200 E QUERY 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 F - exception: connect failed


Setting up MongoDB to run on Catalina is more time-consuming than it should be, but hopefully, this article will save you from some of the headaches I. The problem is related to the latest major macOS release, Catalina, and in this article, I’ll share my solution. Juliens-iMac:~ julien$ mongod -config /usr/local/etc/nfĬonnecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb The switch was mostly very smooth, with one main problem: setting up MongoDB.
(For me this is launchctl stop ) Start mongo job: launchctl start
🍺 /usr/local/Cellar/mongodb-community/4.2.0: 21 files, 272.3MB, built in 5 seconds If you installed mongodb with homebrew, there's an easier way: List mongo job with launchctl: launchctl list grep mongo. SocketException: Error connecting to 127.0.0.1:27017 :: caused by ::Ĭonnection refused : have followed all instructions on and couldn't find any suitable help on the internet.ĭoes anybody know how to fix this? => Summary However, I am getting the following error message: Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed: I am trying to set up a MongoDB 4.2.X Community instance on my local computer.
