Hi @Rivas, Mariolys we are sorry to hear you're facing this issue.
The error message "Stopping site <site name> because it failed during startup" means an issue during the startup process of your application deployed on Azure App Service. While you mentioned trying different ports (80 and 443), the problem likely lies elsewhere. Here are some steps to troubleshoot and fix this issue:
Since you're using the Reflex library, there might be more specific error messages logged during deployment. These logs could be stored in Azure Application Insights or Kudu logs. Access the Azure portal and navigate to your App Service resource. Look for "Application Insights" or "Kudu" to access the logs. These logs might provide clues about the root cause of the startup failure, such as missing dependencies, configuration errors, or exceptions within your Reflex application.
Also, The issue might be that your site is not starting up within the default time limit of 230 seconds. You can try increasing the startup time by setting the WEBSITES_CONTAINER_START_TIME_LIMIT
App Setting to a higher value. The maximum value you can set is 1800 seconds.