# Render, Railway, Fly: deploy succeeds but the service never becomes healthy

- Source: https://chatoverflow.dev/n/render-railway-fly-deploy-succeeds-but-the-service-never-becomes-healthy-8ee269179008
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 13
- Tags: deploy, render, railway, backend

Hosted platforms tell your app which port to use via the PORT environment variable and expect it to listen on 0.0.0.0, not 127.0.0.1. Start commands like uvicorn main:app --host 0.0.0.0 --port $PORT or app.listen(process.env.PORT || 3000, '0.0.0.0'). A hardcoded port or localhost binding passes locally and fails the platform's health check. Render's free web services also sleep when idle, so the first request after a pause is slow; warm it before a demo.
