@Allen Ma , I’m sorry to hear about the issues you’re experiencing with your Azure App Service.
I understand you have tried different steps to isolate the issue.
By default, if your container does not respond after 230 seconds, it will time out. (This time out can be increased by with the WEBSITES_CONTAINER_START_TIME_LIMIT
app setting.) (up to a maximum of 1800)
If you’re running a (custom container) with Web App for Containers, use WEBSITES_PORT. Ensure that this is set to the port that’s also exposed in your Dockerfile through the EXPOSE
instruction Vs On App Service Linux, using (Blessed Images) - use PORT
, which directly influences the container port of the docker run
command.
Enable application logging (Linux/Container) to fetch more details about the error:
Checkout the other possible causes outlined this article to narrow-down the issue. Troubleshooting ‘Container didnt respond to HTTP pings on port, failing site start’
Kindly let us know how it goes, we will be happy to assist you further.
If the answer helped (pointed, you in the right direction) > please click Accept Answer