I can\'t connect to Azure CosmosDB (mongodb api) from MongoDB Shell under Mac:
mongo --host XXX.documents.azure.com --port 10255 --username XXX --password YYY --
After uninstall/install brew and reinstalling mongodb via brew I got following MongoDB version:
mongo --version
MongoDB shell version v3.4.10
git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9
OpenSSL version: OpenSSL 1.0.2m 2 Nov 2017
allocator: system
modules: none
build environment:
distarch: x86_64
target_arch: x86_64
which connects to CosmosDB just fine.