How can I determine the IP address of an Azure hosted WebApp

前端 未结 6 586
迷失自我
迷失自我 2020-12-15 19:32

I am using Azure platform for a webapp. I need to find out IP address of my web app so that I can whitelist it to an external server where I have created APIs. Is NSLookup t

6条回答
  •  一个人的身影
    2020-12-15 20:20

    Well, that would be one way, but PowerShell would be better.

    Get-AzureRmWebApp -Name $WebAppName$
    $webapp.outboundipaddresses
    

    for me it returns a bunch of IP addresses

提交回复
热议问题