I am assuming that Mongosh is a different download correct? Might be an issue, the company I work for has very restrictive policies in place. Its odd… In our local company software repo, we have Mongo and Compass, but not MongoSH.
For clarification, it was on the same machine that Mongo is running that I tried to use the IPAddress rather than localhost…
When you mention config file, I am assuming this is what you are referring to. I have not edited this file at all.
BTW, I am running Mongo 7.0
# mongod.conf
# for documentation of all options, see:
# http://docs.mongodb.org/manual/reference/configuration-options/
# Where and how to store data.
storage:
dbPath: C:\Program Files\MongoDB\Server\7.0\data
# where to write logging data.
systemLog:
destination: file
logAppend: true
path: C:\Program Files\MongoDB\Server\7.0\log\mongod.log
# network interfaces
net:
port: 27017
bindIp: 127.0.0.1
#processManagement:
#security:
#operationProfiling:
#replication:
#sharding:
## Enterprise-Only Options:
#auditLog: