Render not serving in production

Hello! I am deploying my Dash app to render.

I have a private GitHub repo which I successfully connected to Render. I deployed the last commit and resolved all the errors showed in the log. However, the last time I did not receive any errors, just this:

  • Debug mode: off

WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.

Press CTRL+C to quit

No open HTTP ports detected

==> Web Services | Render Docs

It is pretty much the same message as running locally…

Any solution? I tried changing the port to 0 or 10000 and not working…

Any help will be appreciated.

Valentin

Services must listen on 0.0.0.0, not 127.0.0.1.

Thanks Jason,

My question is, where should I change that? In the Environment Variables inside Render or my code?

If it is on my code, should it be something like: app.run_server(debug=False, port=0.0.0.0)?

Thanks!
Valentin

0.0.0.0 is not a Port, it’s a Host address, but is set in the same area as a Port.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.