Hi @GCS-8925,
The /appsvctmp/status.txt
is a file that's used by the platform to determine when your app is started or in the process of being started.
In looking at the logs you appended, it appears you're running a node app in either a linux hosting plan or docker container. For Azure to be able to connect app inside the container, you app should be listening on 0.0.0.0.
const http = require('http');
// const hostname = '127.0.0.1';
const port = 3000;
const server = http.createServer((req, res) => {
res.statusCode = 200;
res.setHeader('Content-Type', 'text/plain');
res.end('Hello World');
});
server.listen(port,/* hostname */, () => {
console.log(`Server running at http://${hostname}:${port}/`);
});
You can effectively use hostname = 0.0.0.0;
but for running in the cloud, it's not required. Let me know if you still have an issue.