Deploy successfully but link keeps loading

I’m new to using fly. I deployed my node REST API using the ‘flyctl launch’ command. Everything was ok and the monitoring section shows my API running successfully and it also connected to my mongoDB server. But, when I click the link in the overview, it keeps loading for a very long time and then a ‘The page isn’t working’ shows up on chrome. The API runs fine on my local machine. I looked in the console in the deployed app and it shows ‘(index):6745 crbug/1173575, non-JS module files deprecated.’ I’m not sure if that’s the issue. Please help

Edit: Now it shows that the deployment failed with description ‘Failed due to unhealthy allocations - no stable job version to auto revert to’

What port is your API listening on? Is that the same port as specified in your fly.toml in internal_port? From what you described, it seems that our proxy isn’t able to connect to the server running inside your app (“unhealthy allocations” means the health check is failing), and incorrect ports are a common cause of that.