I get the following error:
Warning { MongoError: failed to connect to server [mongodb:27017] on first connect
at Pool. (/Users/michaelks
If the mongo instance is build on the cloud.mongodb.com this error appears when the instance can work only from known IP addresses set in the IP whitelist pool when the instance was configured.
So from the mongo dashboard need to be set the current IP address on the IP whitelist from network access menu on the left.
BR,