79671407

Date: 2025-06-19 00:02:20
Score: 4
Natty: 4.5
Report link

How do I specify the port in my Linux container?

App Service has no control about which port your container listens on. What it does need is to know which port to forward requests to. If your container listens to port 80 or 8080, App Service is able to automatically detect it. If it listens to any other port, you need to set the WEBSITES_PORT app setting to the port number, and App Service forwards requests to that port in the container.

Source: https://learn.microsoft.com/en-us/troubleshoot/azure/app-service/faqs-app-service-linux#how-do-i-specify-port-in-my-linux-container-

Reasons:
  • Blacklisted phrase (1): How do I
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): How do I
  • Low reputation (1):
Posted by: Andre