【问题标题】:How do I permit my Azure Website to access my Azure Cloud Service如何允许我的 Azure 网站访问我的 Azure 云服务
【发布时间】:2015-02-25 20:13:22
【问题描述】:

我有一个 Azure 云服务,我只想让我的 Azure 网站(多个环境)和我的本地办公室计算机访问它。

在我的 ServiceConfiguration.Cloud.cscfg 中,我有一些允许和拒绝规则,最后一个是:

  <Rule action="deny" description="denypublic" order="4" remoteSubnet="0.0.0.0/0" />

但是,如何找到我的网站的 IP 以便为其添加许可规则?

【问题讨论】:

    标签: wcf security azure azure-web-roles azure-web-app-service


    【解决方案1】:

    Azure 网站没有固定的出站 IP 地址,因此更改您的云服务 cscfg 将无济于事(在端口端点上设置 ACL 也无济于事),因为您将没有 IP 地址可使用。如果您希望您的云服务只能由您的网站访问,则需要将您的网站和云服务都添加到虚拟网络中。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-12-22
      • 2015-11-04
      • 1970-01-01
      • 1970-01-01
      • 2018-08-25
      • 1970-01-01
      • 1970-01-01
      • 2015-09-13
      相关资源
      最近更新 更多