gpt4 book ai didi

使用 Azure 专用链接的 Azure 容器注册表 - 无法访问 "Repositories"区域

转载 作者:行者123 更新时间:2023-12-02 05:57:42 25 4
gpt4 key购买 nike

我仅使用 Azure 专用链接设置了 Azure 容器注册表 - 因此它在 Internet 上不可用。一切似乎都有效,但是当我进入“存储库”区域然后插入存储库列表时,我只能看到错误消息:

错误:“您似乎无权访问此内容。是否启用了防火墙和虚拟网络?”

enter image description here

当我进入“网络”区域时,我可以看到“允许受信任的 Microsoft 服务访问此容器注册表”被选中,并且公共(public)网络访问被设置为“禁用”:

enter image description here

我在新的资源组和新的虚拟网络中创建了注册表。资源组仅包含虚拟网络和注册表。当我启用对注册表的公共(public)访问时,存储库区域开始工作,当我禁用它时,它停止工作。

最佳答案

再次阅读错误消息 -

Looks like you don't have access to this content. Are firewalls andvirtual networks enabled?

防火墙会阻止来自互联网的访问,在您的情况下也会阻止您的访问。听起来怪怪的;但问题是 Azure 知道门户 View 来自您的公共(public) IP,这是不允许的,这就是为什么您在那里看不到任何内容。

在这种情况下该怎么办-

选择所选网络选项并在列表中添加您的 IP - enter image description here

您现在可以在那里看到 CR。由于您的私有(private)链接已经可以使用,因此您已经可以使用它了。

关于使用 Azure 专用链接的 Azure 容器注册表 - 无法访问 "Repositories"区域,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70152179/

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