Thank you for the comments!
Just going to the basics to try to figure it out.
I have mongosh --version 1.7.1 installed.
Then, when I type only mongosh I get this error.
MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017
Yesterday, I was trying to connect via Atlas to mongoshell using the connection string
and I get this error
MongoServerSelectionError: Hostname/IP does not match certificate’s altnames: Host: ac-g7js2yq-shard-00-02.4sdhy13.mongodb.net. is not in the cert’s altnames: DNS:*.mongodb.net, DNS:mongodb.net
I have read that I could solve this problem using mongod, but honestly, I don’t know yet how that works or what command I should use in the terminal. Would the mongod help? How do I use it?
Thanks!