Application failed to respond

I created a nx project the builds are successful and its running on port 4300. I've also set an env variable PORT with the value 4300. But when I go to the generated domain I get the text "Application failed to respond"
3 Replies
Percy
Percy2y ago
Project ID: 6d888c30-44bb-4d6c-8df0-b37ecd39e975
heelgrappigdennis
6d888c30-44bb-4d6c-8df0-b37ecd39e975
Brody
Brody2y ago
ideally you wouldn't set a PORT yourself. just listen on host 0.0.0.0 and the environment variable PORT, railway will auto generate the PORT that it wants your app to listen on so delete PORT from the service variable that you have set, and just listen on host 0.0.0.0 and environment variable PORT
Want results from more Discord servers?
Add your server