Total newbie on MongoDB, so please be kind
I have installed MongoDB Server (community edition) on one server (Microsoft Windows Server 2022 Standard) (OnPrem) and are now trying to connect to it from another server.
Add first I had a problem just seeing the server, but I have made sure my network is now open to the server including port 27017. That part works!
I have also changed the mongod.cfg file so it is not only bound to 127.0.0.0:
…
# network interfaces
net:
port: 27017
# bindIp: 127.0.0.1
…
And after making the config-change, I have restarted my MongoDB service.
But I continue to get the “connect ECONNREFUSED :27017” (where is my ip-address to the server).
When trying to log on to MongoDB on the server directly using Mongosh, I can connect and it works. But when I try from my developer machine using MongoDBCompass, I get the above error.
MongoDB Community Edition 6.0.4
Compass version 1.35.0
What can I do from here?