MongooseError [MongooseServerSelectionError]: connection to 52.6.250.237:27017 closed

后端 未结 5 1274
盖世英雄少女心
盖世英雄少女心 2021-01-01 12:43

i am trying to save data in mongodb through post method and using mongodb atala with node.js but it keeps giving me an error, i provided correct connection string and correc

5条回答
  •  無奈伤痛
    2021-01-01 13:46

    I had this similar problem. 'Go to network access' -> 'IP whitelist' -> you can only connect to your cluster from those IP addresses , so if your IP is not present in that list

    Then Click the 'Add IP address' Button-> in there click the button 'Add your current IP address'.

提交回复
热议问题