gpt4 book ai didi

Azure应用程序网关: HostName Mystery

转载 作者:行者123 更新时间:2023-12-03 00:10:18 24 4
gpt4 key购买 nike

假设我有一个具有以下属性的虚拟机

FQDN :trialinstance.westus.cloudapp.azure.com
Public IP : XXX.XXX.XXX.XXX
Private IP : YYY.YYY.YYY.YYY

由于它是 Linux 虚拟机,因此“hostname -f”命令的输出为

trialinstance.somerandomguid.dx.internal.cloudapp.net

现在我需要一些帮助来理解这些:

what will be the value for Target field in BackendPool ?
What will be the hostname ?
How setting 127.0.0.1 works as hostname ??

Azure 文档和解释非常不充分:(

最佳答案

what will be the value for Target field in BackendPool ?

如果您的 Linux VM 和应用程序网关位于同一 Vnet 中,您可以使用 VM 的私有(private) IP。

enter image description here

如果您的虚拟机和应用程序网关不在 VNet 中,则应使用虚拟机的公共(public) IP 或 FQDN Trialinstance.westus.cloudapp.azure.com

更多相关信息请引用此link .

What will be the hostname ?

您应该知道 heath 探针的工作原理,自定义探针确实不用于任何 DNS 名称解析或任何网络路由。相反,探针通过自定义探针与特定后端 HTTP 设置的关联“知道”要命中哪个后端服务器池,而这些设置又通过一个或多个路由规则与一个或多个后端池关联。

如果没有配置多站点,可以设置127.0.0.1。看这个link .

关于Azure应用程序网关: HostName Mystery,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48401694/

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