Connecting Heroku App to Atlas MongoDB Cloud service

前端 未结 5 862
孤街浪徒
孤街浪徒 2020-11-29 21:26

To antecipate the question: do I need to get SSL support on Heroku in order to establish a connection between Heroku and Atlas Mong

5条回答
  •  一向
    一向 (楼主)
    2020-11-29 22:24

    Also had to add 0.0.0.0/0 to the Mongo IP whitelist AND redeploy my app on Heroku for it to finally work (before changing IP, a CORS error was thrown).

提交回复
热议问题