When a port number is included in an SRV URI, libmongoc raises the following error:
Failed to parse MongoDB URI: 'mongodb+srv://xxx.yyy.mongodb.net:27017'. Invalid service name in URI.
A more helpful error message would inform users that port numbers should not be included in SRV URIs.
- is related to
PHPC-1730 Connection string with "mongodb+srv" and port fails parsing
PHPLIB-790 Add FAQ section to documentation