本文介绍了告诉Azure Web应用程序IP地址也由域名解析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我们公司拥有其中一项产品的Azure Web应用程序实例,该实例当前通过VPN连接到其环境.在我们的过程之一中,我们需要调用客户端环境中的Web服务,该服务可以通过VPN隧道进行访问. 不幸的是,Azure Web应用程序无法解析域名,但是该服务要求我们使用该域进行呼叫,因为Web服务将不接受使用服务器IP的请求.  

Our company has an Azure web app instance of one of our products that currently connects to their environment via VPN. In one of our procedures we need to make a call to a web service in the client's environment that would be accessible through the VPN tunnel. Unfortunately, The domain name can't be resolved by the Azure web app, but the service requires that we use the domain for the call as the web service won't accept requests using the IP of the server.  

那么,如何告诉我们的Azure Web应用程序域也解析哪个IP?如果它只是一台普通服务器,我将编辑Hosts文件并完成操作,但是我似乎无法在Azure Web应用程序上执行此操作.

So, how do I tell our Azure web app what IP a domain resolves too? If it were just a regular server I would edit the Hosts file and be done but I can't seem to do this on the Azure web app.

谢谢

Paul

推荐答案

如果我的了解您的问题是正确的,请参考上的文档在App Service环境中使用内部负载均衡器 ,看看是否有帮助.

If my understanding of your issue is correct, refer the documentation onUsing an Internal Load Balancer with an App Service Environment,and see if it helps.

此外,所有Azure Web Apps都在一个称为"沙盒"的安全环境.每个应用程序都在自己的沙箱中运行,从而将其执行与 同一台计算机上的其他实例,以及提供其他级别的安全性和隐私性,否则将无法获得. 请参阅GitHub Wiki部分 以及 常规沙箱 限制 有关详细信息.

Also, all Azure Web Apps run in a secure environment called a sandbox. Each app runs inside its own sandbox, isolating its execution from other instances on the same machine as well as providing an additional degree of security and privacy which would otherwise not be available.Refer the GitHub wiki sectionsNetworking Restrictions/ConsiderationsandGeneral Sandbox Restrictions for more details.

----------- -------------------------------------------------- --------------------------------------

请点击标记为答案"在对您有帮助的帖子上,这可能会对其他社区成员有所帮助.


这篇关于告诉Azure Web应用程序IP地址也由域名解析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-24 10:53