简体   繁体   English

Azure网站的内部IP通过VPN连接到VNet

[英]Internal IP of Azure website connect to VNet via VPN

I have an azure website connect to my azure VNET via point to site connection. 我有一个天蓝色网站通过点对点连接连接到我的天蓝色VNET。 Its working well and I'm able to access VM's on the network from the site. 它运行良好,我可以从站点访问网络上的VM。 However, is there a way for the VM's to access the site via the network using internal IP? 但是,VM是否可以使用内部IP通过网络访问站点? I've been unable to find out what the internal IP of the my azure website is. 我一直无法找到我的azure网站的内部IP是什么。

Cheers. 干杯。

The only way to be able to obtain VIP for your website is to host it as a cloud service which provision a VM and therefore you can connect to your VNET. 能够为您的网站获取VIP的唯一方法是将其托管为提供VM的云服务,因此您可以连接到VNET。

And the way to do this is just add a cloud service to your solution and then app your website as a web role! 而要做的方法就是将云服务添加到您的解决方案中,然后将您的网站用作网络角色! and publish. 并发布。

Hope this helps. 希望这可以帮助。

You need to host your web app in an App Service Environment (ASE) to get a dedicated internal IP address for your web app instance(s). 您需要将Web应用程序托管在App Service环境(ASE)中,以获取Web应用程序实例的专用内部IP地址。

https://azure.microsoft.com/en-us/documentation/articles/app-service-web-configure-an-app-service-environment/ https://azure.microsoft.com/zh-CN/documentation/articles/app-service-web-configure-an-app-service-environment/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM