How to determine Azure website outgoing IP Address?

后端 未结 4 612
孤独总比滥情好
孤独总比滥情好 2020-12-24 08:09

Is there a way to determine the outgoing IP address of a Website (not a webrole)?

I\'ve done a reverse looking up *.azurewebsites.net which returns one address, howe

4条回答
  •  情深已故
    2020-12-24 08:56

    You can get the "OUTBOUND IP ADDRESSES" property via PowerShell. Here is the command:

    (Get-AzureRmResource -ResourceGroupName inhabit-adminservices -ResourceType Microsoft.Web/sites -ResourceName YOUR_RESOURCE_NAME).Properties.OutboundIpAddresses -Split ","
    

    Where YOUR_RESOURCE_NAME is the name of Resource group.

提交回复
热议问题