SRV string difference

What;s the difference in srv connection with application and mongo shell.What different purpose it is used correspondingly?


In terms of difference between the Mongo Shell and the Application, there isn’t really any difference apart from how they might be passed but the underlying idea is that both of these now support using DNS seedlists to ease the burden of maintaining that aspect of clusters/deployments for the developers.

Here is the blog post if you want to read in detail:


are the uri and the SVR string same??

First it is SRV.

The answer is yes and no. The SRV connection string is the URI of a replica set cluster. But a URI is not necessarily an SRV.

You can read more about SRV at

As for URI a good resource is

It is also interesting to understand the subtle difference from a URL by

I liked reading

1 Like