@traleeee-gmo , To assist you better on this issue, since you have posted the question on Azure App Service? Is your WordPress webapp hosted on an Azure WebApp or on Azure VM or some other Azure service? Where exactly do you see this message/logs? If it's on App service, are you leveraging Windows or Linux tier?
On an Azure VM, you would typically setup and config nodejs app, as you would on-prem.
Just to highlight, your Node.js app needs to listen to the right port to receive incoming requests.
App Service sets the environment variable PORT
in the Node.js container, and forwards the incoming requests to your container at that port number. To receive the requests, your app should listen to that port using process.env.PORT
. The following example shows how you do it in a simple Express app:
In App Service, TLS/SSL termination happens at the network load balancers, so all HTTPS requests reach your app as unencrypted HTTP requests. If your app logic needs to check if the user requests are encrypted or not, inspect the X-Forwarded-Proto
header.
Checkout these docs for more info: