[英]How can I reach the private IP address of an Azure VM from the container which is inside a Web App (both of the resources are on the same VNet)?
In Azure I have the following resources: A VM and a Linux Web App for container. 在Azure中,我具有以下资源:容器的VM和Linux Web App。 After putting them on the same VNet, the started Container within the App Service can't communicate through private IP.
将它们放在同一VNet上后,App Service中启动的Container无法通过私有IP进行通信。
I wanted to include sshd for the container for debugging purposes, however I couldn't connect to the container after connecting the Web App to the VNet (that already has the VM on it). 我想将sshd包含在容器中以用于调试目的,但是将Web App连接到VNet(已经有VM)后,我无法连接到容器。
Sounds to me like you still need to configure VNET integration for your Web App? 在我看来,您仍然需要为Web App配置VNET集成吗? https://docs.microsoft.com/en-us/azure/app-service/web-sites-integrate-with-vnet And also read here a bit: Azure Web App for Containers networking VNET
https://docs.microsoft.com/zh-cn/azure/app-service/web-sites-integrate-with-vnet还要在这里阅读一下: 用于容器网络VNET的Azure Web应用程序
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.