DEV Community

Discussion on: How to deploy a Webapp to Heroku (Node.js, React.js and MongoDB)

Collapse
 
leosalgueiro profile image
LeoSalgueiro

Hi thiago, good post!
i have a problem. the deploy in heroku and connection its ok, but when i tried make petitions to the backend, i recived a 503 unavailable.
I have the settings from the previous post...

Collapse
 
pacheco profile image
Thiago Pacheco

Hi Leo, thank you!
Usually when you get error 503 is because there was something wrong with the deployment.
You can use the heroku logs to check what happened:

heroku logs

Take a look at the docs here for more info:
devcenter.heroku.com/articles/logging