I installed mongodb in Ubuntu14.04 server
I was not able to connect to mongodb via \"mongoimport\", \"mongodump\", \"mongostat\", etc. It always show \"no reachable
If TLS is enabled with authentication then use the below format from the dump location
mongorestore --host=example.com --port=27017 --username=user_name --authenticationDatabase=admin --ssl --sslCAFile /etc/ssl/rootCA.pem --sslPEMKeyFile /etc/ssl/mongodb.pem