gpt4 book ai didi

将 350 个 IP 地址放入 "ipSecurityRestrictions"后,Azure 应用服务内部服务错误

转载 作者:行者123 更新时间:2023-12-02 07:29:02 26 4
gpt4 key购买 nike

我们可以在 Azure 资源资源管理器内 web.config“ipRestrictions” 部分中放置的 IP 地址的最大数量是多少?

目前,我们必须将 350 个应该能够访问应用服务的 IP 地址列入白名单。但是,输入 IP 地址后,应用服务可能会由于 IP 地址的数量而导致内部服务器错误。解决这个问题的方法是什么?

最佳答案

请尝试使用 azure 资源 ( https://resources.azure.com ) WebsiteName->config->web->ipSecurityRestrictions 来执行此操作。我们可以添加如下值,然后发出 http 请求。我尝试添加超过350个ip地址,它仍然运行良好。更多详细步骤请引用另一篇SO Thread .

ipSecurityRestrictions": [
{
"ipAddress": "x.x.x.x",
"subnetMask": "x.x.x.x"
},
{
"ipAddress": "x.x.x.x",
"subnetMask": "x.x.x.x"
}
....
]

关于将 350 个 IP 地址放入 "ipSecurityRestrictions"后,Azure 应用服务内部服务错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42564260/

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