0

i am making NodeJS app hosted on heroku and using MongoDB atlas as a backend.When i am sending POST request to app via POSTMAN it is showing:

 Error: 503 service unavailable

In my opinion node app is failed to connect with MongoDB atlas cluster.If so then how can i connect it with MongoDB.

THANKS

Digvijay
  • 2,887
  • 3
  • 36
  • 86

1 Answers1

1

See Connecting Heroku App to Atlas MongoDB Cloud service, you need to either connect via SSL or whitelist the relevant Heroku IP address ranges for your app.

Yertle
  • 21
  • 6