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, however when I manually check it (by having the webapplication visit a webserver i control), it shows a completely different IP.
What is the right way of doing this?
The outbound addresses are what other devices/services would see if your app makes an outbound network call (calls another API etc.). There is a set of them and they are all shared by other apps, your app will use one of them on each connection.
1.0 : Network address. 192.168. 1.1 : Reserved by Azure for the default gateway.
Azure website can use a random IP just out of 4 IP addresses per scale unit.
For a list of IP addresses per scale unit and instructions about how to determine your site's scale unit, take a look here.
UPDATE: seems that all the scale unit's 4 IP addresses can now be found in the new Azure portal and the forum post will no longer be updated.
From July 20th, 2015 onwards, this post will no longer be updated with IP addresses. Instead this information can now be found in a web app's properties using the new portal (portal.azure.com).
To find the outbound IP addresses:
Browse to the details of your specific web app using the new portal at portal.azure.com.
Towards the top of the details for your web app, there is a link for "All settings". Click the link.
Clicking "All settings" will open up a list of web app information that you can drill into further. The specific information to drill into is "Properties". Click on the "Properties" selection.
Within the "Properties" UX, there is a textbox showing the set of Outbound IP Addresses. Using the icon to the side of the "Outbound IP Addresses" textbox you can select all of the addresses. Pressing Ctrl+C will then copy the addresses to the clipboard.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With