mongo shell connect with uri code example
Example 1: mongo db local connection url
mongodb://localhost:27017/mydbname
Example 2: can we replace a mongouri string with localhost
mongodb://mongodb0.example.com:27017
mongodb://localhost:27017/mydbname
mongodb://mongodb0.example.com:27017