gpt4 book ai didi

azure - 从 Azure Web App 访问本地数据库

转载 作者:行者123 更新时间:2023-12-03 01:40:34 32 4
gpt4 key购买 nike

请建议我们是否可以从 ASE 后面的 Azure Web App 访问本地 MS SQL Server 数据库。

我的理解是,我们只需要在防火墙上打开 sql 端口即可从 ASE 子网连接到本地子网。

最佳答案

您可以,但还有其他方式,例如混合连接:

Within App Service, Hybrid Connections can be used to access application resources in other networks. It provides access from your app to an application endpoint. It does not enable an alternate capability to access your application. As used in App Service, each Hybrid Connection correlates to a single TCP host and port combination. This means that the Hybrid Connection endpoint can be on any operating system and any application, provided you are accessing a TCP listening port. The Hybrid Connections feature does not know or care what the application protocol is, or what you are accessing. It is simply providing network access.

https://learn.microsoft.com/en-us/azure/app-service/app-service-hybrid-connections

其他选择是 VPN 或 Expressroute

https://learn.microsoft.com/en-us/azure/app-service/environment/network-info

enter image description here

关于azure - 从 Azure Web App 访问本地数据库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54075165/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com