When I initiate a deployment of a Node.js website I am working on, the build is successful but once my server.js file executes and starts listening on port 10000, the render build remains “in progress” for a while before failing.
This is likely a configuration issue. Ensure your service (guessing Express?) is listening on 10000 and host 0.0.0.0. We often see the console.log “listening on…” being hardcoded and not a true representation of the code.
The issue is now resolved.
It was due to my server.js file. While moving my project from my local to render, I changed the hardcoded port values to use a dynamic port but accidentally replaced “3000” in my app.listen() with “PORT” instead of just PORT like it should have been to use the variable.