Running a docker container in Azure web app: didn't respond to HTTP pings on port Running a docker container in Azure web app: didn't respond to HTTP pings on port docker docker

Running a docker container in Azure web app: didn't respond to HTTP pings on port


This is a limitation of the Azure Web App, it only supports to expose the port 80 and 443. So when you want to expose other ports such as 9000 and 8080, then you got the error that it didn't respond to HTTP pings on that port.


Thanks for the answers, basically it's what Charles Xu said.To solve it I just exposed port 80 and 9000 in the Dockerfile and finally in Azure App Application Settings add two new variables, PORT=9000 and WEBSITES_PORT=80.