mongodb connect to remote database command line code example
Example: how to connect remote mongodb in cmd
mongo "mongodb://[email protected]:28015/?authSource=admin"
mongo "mongodb://[email protected]:28015/?authSource=admin"