Share via

Azure App Service

JS 1 Reputation point
2022-09-27T03:15:48.53+00:00

Hi, I have deployed a proxy node Js web application to azure app services, I have JavaScript as front end. How can I connect to the deployed node Js api inside the app? Please share some reference links

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 19,511 Reputation points Moderator
    2022-09-30T21:30:03.927+00:00

    Hi @JS-8135,

    Thanks for the question. if I understand correctly you want to connect you web application to a JS frontend? are you using Linux or windows?

    Your Node.js app needs to listen to the right port to receive incoming requests. Please check out links that can help with your scenario:

    https://learn.microsoft.com/en-us/azure/app-service/configure-language-nodejs?pivots=platform-linux#get-port-number
    https://learn.microsoft.com/en-us/answers/questions/204366/azure-app-serivice-nodejs-proxy-403.html
    https://stackoverflow.com/questions/73307644/azure-connect-proxy-frontend-react-to-backend-express-node-js
    Best,
    Grace

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.