You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having problems connecting to my mongo database. I am running on a localhost with the default port, I have auth enabled, but when I try to connect, I get a popup error saying;
An error occured while calling connect(). -
Then if I click on Server Status I get;
An error occured while reading or writing on the socket. -
How can I fix this? I installed mongo with homebrew (following their wiki) and this is my mongod.conf
# Store data in /usr/local/var/mongodb instead of the default /data/db
dbpath = /usr/local/var/mongodb
# Append logs to /usr/local/var/log/mongodb/mongo.log
logpath = /usr/local/var/log/mongodb/mongo.log
logappend = true
# Only accept local connections
bind_ip = 127.0.0.1
port = 27017
# Auth
auth = true
The text was updated successfully, but these errors were encountered:
I am having problems connecting to my mongo database. I am running on a localhost with the default port, I have auth enabled, but when I try to connect, I get a popup error saying;
Then if I click on Server Status I get;
How can I fix this? I installed mongo with homebrew (following their wiki) and this is my mongod.conf
The text was updated successfully, but these errors were encountered: