Connecting to Azure VM from Azure App Service

2019-01-22T22:48:38

I have an Azure virtual machine, on which a process listens on a certain port. A Node.js application on my local computer is able to connect to this process using the VM's public IP address. But the same Node.js application, deployed as an app service on Azure, is apparently not able to connect using any IP address, despite the fact that the VM allows all incoming traffic on all ports.

(Details: The VM process is running "q" (kdb+), and the Node.js application is using the "node-q" package to connect to it. Both the Azure VM and the Azure app service are Linux, but the local version of the app service is on Windows. The Azure app service is able to connect to my Azure SQL database.)

Any insights into this problem would be appreciated.

Copyright License:
Author:「Jon Vinson」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.
Link to:https://stackoverflow.com/questions/54310794/connecting-to-azure-vm-from-azure-app-service

About “Connecting to Azure VM from Azure App Service” questions

I have an Azure virtual machine, on which a process listens on a certain port. A Node.js application on my local computer is able to connect to this process using the VM's public IP address. But th...
I have a Web App (Azure App Service) and I have an Azure SQL Database that this Web App talks to. I have two questions regarding communication between the two. When connecting from the Web App to...
I am planning on using an outsourcing team for data processing and want to avoid them downloading or storing client data on their local machines. To facilitate this, I want to create an Azure VM in...
I'm currently in the process of doing a proof of concept of moving from our current IAAS provider to Azure. We're currently just serving multiple LOB Web Apps on a 2 tier setup consisting of: Web ...
I have a Selenium Java project which is a web services project. This project has 3 web services. this project is hosted on azure app service. But Azure app service does not have its own Virtual mac...
I have an ASP.NET Core system (based on NopCommerce framework) hosted on Azure VM (Standard F8s_v2 size). The application runs pretty smooth. Average response times are around 200 ms which is accep...
I have a Java spring boot application using Jetty which is deployed in Azure App service(Plan: P3v2). The same is also deployed in a Azure linux VM (Standard DS4 v2 [8 vcpus, 28 GiB memory]) with C...
I am running a .NET website web app (App Service) and a separate windows Azure VM running onprem AD Domain controller.There is no connection between onprem AD with Azure AD.I want to access windows...
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 gr...
I have a SQL Server on Azure VM and I am trying to connect to it from my web app. Can someone point me in the right direction? I have searched and I have not found one where it connecting to SQL ...

Copyright License:Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.