Azure Website 101: What is my Outbound IP address

If you ever got chance to work with web apps that calls some sorts of financial service through some API then you probably know why you need a whitelisted IP address. Those of you who still did not get chance to work on such project for them let me give a quick brief so that we all can remain in the same page as the article goes.

While working with sensitive data like financial, health related information some times we need to connect to resources that only allows access from known IP addresses. For example a database behind a firewall or a secure third party web service never lets anyone pinging them from anonymous IP address in order to ensure secure data transfer. On such situation you can use either VPN to connect with the service provider or you can send them your outbound IP address and ask them to add your IP address in the whitelist so that your web apps can make request to that particular service.

At a glance :

Web App developer needs to know outbound IP addresses in order to configure firewalls of external services to allow requests from that Web App.

As you can see, as soon we are planning to make request to their API to consume services, your Microsoft Azure Website (MAWS) outbound IP address comes into play. Now the question is how we are going to figure out outbound IP address associated with our web app? In fact this is such common questions that you might have seen developers asking in forum “What is my MAWS outbound IP address and why its not seems to be a static?”

To find the outbound IP addresses:

  1. Login to the new portal and browse to the details of your specific web app.
    Azure_Website_101_Outbound_IP_01
  2. Click the All Settings page to open the Settings blade. Once the Settings blade is open click Properties.
    Azure_Website_101_Outbound_IP_02
  3. On the Properties blade you will find the list of outbound IP addresses of your website.
    Azure_Website_101_Outbound_IP_03

Note :

Your outbound IP address will be one of 4 addresses for the scale unit of your site.

Another way to check your outbound IP address is to use Azure Resource Explorer. A full list of “Azure Data center IP Address Ranges” can be found here.

Good Read:

Advertisements

6 thoughts on “Azure Website 101: What is my Outbound IP address

  1. Hi… i have some doubts about web app in Azure. The most important for me is the name resolution. I have a web app and a SQL Database as a service, in the web app i can assign a vnet but the DB don’t have this option. The question is: for the DB connection my web app use the public IP of the DB or the traffic is private?

  2. Hi,
    I understand this is for Inbound IP but still asking a Q related to Outbound IP. We want to access Onpremise service from Application hosted on Azure Web App. We whitelisted 4 Azure IP Addresses from Azure Web APP Properties on premise but still application hosted on Azure Web App is not able to access On premise Service. When We try to nslookup, site’s URL, it gives different IP addresses and not the ones mentioned in outbound IP addresses. Please share your thoughts.

  3. Yoou actually maқе it sᥱem ѕo easy with your presentation but I find
    this topic to Ьe аctually somеthіng tyat Ⅰ think I wοuld neveг understand.

    It seems too complicatedd and extremely broad fߋr me. I’m looқing forward for үour next post,
    I’ll tгy to get the hang of it!

  4. Wow, amazing weblog format! How lengthy have you ever
    been blogging for? you make running a blog glance easy.
    The full look of your web site is excellent, let alone the content material!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s