First you must have the mongo cli installed in your system (https://docs.mongodb.org/manual/installation/).
Then from the terminal you can run:
mongo someurl.mongodomain.com:45475/database_name -u username -p password
kwd66a
How to connect to remote mongo database with the mongo cli
Written by Nicola Pietroluongo
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#