vedfi / mondroid

Mongodb Client w/ Flutter
GNU General Public License v3.0
65 stars 7 forks source link

I can't connect. I don't know how to solve problem #11

Closed kekakewka closed 1 year ago

kekakewka commented 1 year ago

IMG_20230612_224952.jpg

mongodb+srv://:@cluster0discors.v499ape.mongodb.net/

I was not given the value of the "port" parameter

vedfi commented 1 year ago

Hello. Since you are connecting to an atlas database, the mongodb driver automatically detects the port number. It seems like this error is not caused by mondroid or mongodart driver. I see that you are using LTE network connection. You can try WiFi (Local ISP) connection.

kekakewka commented 1 year ago

IMG_20230612_232324.jpg

It does not help

vedfi commented 1 year ago

Make sure that ip address 0.0.0.0 is allowed in Atlas Server.

Try adding ssl=true&authSource=admin to your connecting string.

If above methods not working you may try this; In Atlas Server IP Whitelist Page. Instead of clicking my current ip address, just search what's my ip on google and paste that instead.

kekakewka commented 1 year ago

Thank you! It's work