node app deployed in azure app service, No webpage was found for the web address:

Viewed 86

I have deployed a node app into azure app service, but when i browse the website it's showing

here

but when i'm running it locally it's showing success message in postman

here

and when i check through the url in postman it's showing same 404 error

here

i have deployed the code to app service using azure appservice extension in vscode and the output terminal is showing deployment successful

here

and to double check i have used kudo tools and the wwwroot folder showing everything as expected

here

i'm not able to find the solution, where i'm going wrong?

1 Answers

Thanks, Looking at your site, there is HTTP 4xx errors that happened for your app. The errors are categorized as Front End or Worker based on the instance that returned the error. Front End in Azure App Service is a layer seven-load balancer, acting as a proxy, distributing incoming HTTP requests between different applications and their respective Workers. As Web Workers are the backbone of the App Service scale unit and they run your application code.

To know more about Front Ends, Workers and to understand internals of Azure App service Architecture, Check this article- Inside the Azure App Service Architecture.

One possible reason for HTTP 4xx error is the app is in a stopped state or has hit some quota enforced by Azure App Service.

As you are running on Free SKU, try running a production application on a Standard, Premium, or Isolated App Service Plan for better performance and isolation. These SKUs are best for production workloads, but there are other SKU options like (Free, Shared, Basic) if you are still in testing mode.

See Azure App Service Plan Pricing Information

Related