Azure webapp node js doesnt work

Dávid Tamás László 1 Reputation point
2022-12-13T15:45:02.86+00:00

Hi !

I tried to follow this tutorial ( https://learn.microsoft.com/en-us/azure/app-service/quickstart-nodejs?tabs=windows&pivots=development-environment-vscode ). I try to deploy a nodejs server to azure. it works on a localhost so the code is fine, but i cant manage to deploy on azure .. I mean the deployment is succesful but than the webpage doesnt work at all. I made a video about me doing all the steps ( https://youtu.be/ip4Ogqw7KTo ) of the tutorial.. am i missing something shouldnt it supposed to work in this way? Please let me know if i am missing something here.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,974 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. VenkateshDodda-MSFT 18,861 Reputation points Microsoft Employee
    2022-12-14T08:30:17.313+00:00

    @Dávid Tamás László Thank you for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.

    To reproduce this behavior, I have followed the same documentation steps and deployed the nodejs app from visual studio code to app service and it got deployed successfully without any issues.

    I have gone through recorded video and found that in our documentation, we are using express generator to create an app which is installed with Node.js and NPM and i don't see you are using it.

    Based on the shared information in the recorded video, I have looked at the backend logs and get to know that webapp was down due to the error message "iisnode was unable to establish named pipe connection to the node.exe process before the process terminated"

    iisnode - IISNODE is a native IIS module that allows hosting of node.js applications on App Service Windows in IIS. Typically, the error indicates (from this module, that something wrong in the node configuration or an application error.

    I would suggest you add the web.config file in your application by referring to this sample schema about web.config file

    Refer to this sample blog post for deploying nodejs applications using NestJS framework or using React JS framework.
    .
    Feel free to reach back to me if you have any further questions on this.


  2. Elimelech Safern 0 Reputation points
    2024-05-01T19:20:27.23+00:00

    I am experiencing the same issue: once the publishing is done, I get this message on the page: "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."

    0 comments No comments