How to find out outbound IP addresses used by Azure Web App

When an Azure Web App makes an outbound network call it uses a set of predefined IP addresses. Usually the Web App developer needs to know those IP addresses in order to configure firewalls of external services to allow requests from that Web App. In the past it was not easy to discover the IP address of a Web App. There is an article with the list of known IP addresses for each Azure scale unit, but that is not updated as fast as the new Azure scale units brought up online.

Fortunately now it is much easier to discover the outbound IP addresses of an Azure Web App. The list of outbound IP addresses is now included in the REST API Site object and can be accessed by using Azure Resource Explorer. Just select the Web App in the Resource Explorer tree view and then look for the “outboundIpAddresses” property, which will contain a comma separated list of IP addresses. For example the following screenshot shows outbound IP addresses used by my site http://ruslany.net:

 

28,484 views

ruslany on June 29th 2015 in WAWS

PoorFairAverageGoodExcellent (8 votes, average: 4.25 out of 5)

5 Responses to “How to find out outbound IP addresses used by Azure Web App”

  1. Gravatar Imageruslany responded on 28 Jul 2015 at 12:59 pm #

    The list of outbound IP addresses is now also available in the Azure portal.

  2. Gravatar Imageunknown responded on 06 Nov 2015 at 5:46 am #

    nice.. thank you :)

  3. Gravatar ImageJhonatan responded on 25 Apr 2016 at 6:28 am #

    Thank you :)

  4. Gravatar ImageRajesh responded on 25 Nov 2016 at 4:38 am #

    Thanks for this. It is of great help.

    Any thoughts when these IP will change?

  5. Gravatar Imagesky responded on 21 Jan 2017 at 1:58 am #

    thanks. very good.

Trackback URI | Comments RSS

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

XML Markup: If You want to add XML code to the comment please XML encode it first, otherwise the code will not show up.

Recently Published Articles