Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
@Jonas Azure App Service (multi-tenant) only allows incoming traffic on ports 80 and 443 for HTTP and HTTPS traffic respectively.
You can use Azure App Service Containers and expose the port you want though as a workaround. By default, App Service assumes your custom container is listening on port 80. If your container listens to a different port, set the WEBSITES_PORT app setting in your App Service app. (Only for container apps)