Search code examples
azureazure-virtual-machineazure-virtual-networkazure-webappsazure-vm

Communication between Azure VM and Azure Web App


I'm very newbie on Azure, so I am probably asking a very basic question, please be patient with me.

I have an Azure Red Hat VM and a java Azure App Service Web App, deployed on the same resource group and the same region. I need the VM to perform RMI calls to the Web App on port 12999.

I've found here that the Azure Web App just exposes ports 80 and 443.

I've also read here that the inbound communication to Azure App Service is possible through Service Endpoints, but it is not clear to me how I should configure the VNet.

Is there any way to have the RMI communication on port 12999 from VM to Web App?

Thanks for the replies.


Solution

  • Is there any way to have the RMI communication on port 12999 from VM to Web App?

    No. As you already found, Web Apps only expose ports 80 and 443. Service Endpoints etc. do not change that.