mongodb localhost connection string no authentication code example Example: can we replace a mongouri string with localhost mongodb://mongodb0.example.com:27017