Reputation: 1417
I have deployed node.js(express) web application using azure pipelines. The application listens on port specified by
server.listen(process.env.PORT ||3000);
When logging process.env.PORT using a route, it displays 8080 but the app is running on port 443. How does this happen? The application is not accessible on port 8080.
Upvotes: 0
Views: 674
Reputation: 1835
It is only possible to access apps hosted by Azure Apps Services via port 80 or 443.
Azure forwards requests to the internal port specified by your docker configuration.
It is not possible to publicly access your app through any other port.
Upvotes: 0