Forum Discussion
Blarfnort
Feb 26, 2025Copper Contributor
Accessing a deployed NodeJS app?
I'm a complete noob to Azure. I have managed to deploy a NodeJS all to a Function App (container?). I can go into Deployment > Advanced > Kudu and then to Debug Console > CLI, and it will show a di...
Holaway
Mar 13, 2025Iron Contributor
You deployed an Azure Function App, which runs in API mode by default, not a normal static website, so you cannot directly access index.js.
Try this URL to access your function:
https://blahblah-func-70.azurewebsites.net/api/index
If it is 404, go to Azure Portal to see if there is a correct trigger under Functions, such as the function name index. If it is an HTTP trigger, it should be accessible. If not, check the route configuration in function.json, you may need to adjust the path.
Or directly cat index.js in Kudu to see how context.res handles requests in the code!