Node Js RestFull API on Azure,Returns HTTP Error 500.1001 - Internal Server Error

前端 未结 2 1433
走了就别回头了
走了就别回头了 2021-01-27 07:43

I have deployed my nodeJs RESTFull API with MySQL, on azure using Dropbox. On console i have seen logs that application started listing and database is connected. thus lines are

2条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-27 08:34

    2 things:

    1. You should use process.env.PORT for handling the named pipe port in Azure App Service. See Listen additional port Microsoft Azure Nodejs.

    2. If #1 didn't solve your problem, you'll need to enable logging of stdout and stderr for further troubleshooting. See How to enable BLOB-logging for a Node.js Api App on Azure?

提交回复
热议问题