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:
- Login to the new portal and browse to the details of your specific web app.
- Click the All Settings page to open the Settings blade. Once the Settings blade is open click Properties.
- On the Properties blade you will find the list of outbound IP addresses of your website.
Your outbound IP address will be one of 4 addresses for the scale unit of your site.