簡體   English   中英

是否可以在 Azure web App Service 中訪問 Azure 虛擬機本地站點?

[英]Is it possible to access Azure Virtual Machine local site in Azure web App Service?

我們可以在 Azure 虛擬機中托管網站並在另一個托管為 Azure web 應用程序服務的網站上訪問該網站嗎?

We have community website which we want to host on azure virtual machine and we want to update/get community website content using web API on website which is hosted as Azure Web App.

那么是否可以在 Azure web App Service 中訪問 Azure 虛擬機本地站點?

可以從 Azure 應用服務訪問 Azure VM 資源。

默認情況下,Azure 應用服務的入站和出站都是直接上網的。 If the network interface of Azure VM is assigned with a public IP, and the websites in the Azure VM has published to the internet, then you can access that Azure VM website from your app service, just like the normal public websites do.

此外,如果您想從 Azure 虛擬網絡中的應用服務訪問 Azure VM 網站,您可以考慮將您的應用與 Azure 虛擬網絡集成 VNet 集成僅用於從您的應用程序向虛擬網絡進行出站呼叫。 VNet 集成功能在與同一區域中的虛擬網絡和其他區域中的虛擬網絡一起使用時表現不同。 在這種情況下,您不需要將公共 IP 分配給 Azure VM。

有關將應用服務連接到本地資源或另一個虛擬網絡中的資源的更多信息,您可以參考此博客

如果您需要進一步的幫助,請告訴我。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM