Ports not accepted with `mongodb+srv` URIs'

Amit Pandey shared this idea 3 years ago
Completed

Hi,

I tried to connect to mongodb (azure cluster) through node.js backend (deployed the node.js application on heroku), however getting following error.

Mongodb Uri : mongodb+srv://myuser:mypassword@cluster0-shard-00-00.ttlf6.azure.mongodb.net:27017/mydb?ssl=true&replicaSet=cluster0-shard-0&authSource=admin

Also tried with different combinations:

mongodb+srv://myuser:mypassword@cluster0-shard-00-00.ttlf6.azure.mongodb.net:27017/mydb

mongodb+srv://myuser:mypassword@cluster0-shard-00-00.ttlf6.azure.mongodb.net:27017/mydb?authSource=admin


However, If using below mongodb uri

mongodb://vidlyuser:1234@ds012538.mlab.com:12538/vidly

able to connect successfully.


Please help.

/eaeb27b02c916fdaa05cd0242d5f4c2c


Thanks & Regards,

Amit

Replies (2)

photo
2

We have worked out a new build(6.1.6) to resolve this issue, please download and give it a try.

https://nosqlbooster.com/downloads

photo
1

Resolved in 6.2

Leave a Comment
 
Attach a file