In the webserver logs (using az cli) I can see Get requests with the user agent AlwaysOn and the IP address 10.0.128.25
Can this IP address be reliably used for setting an allow IP restriction?
This IP address isn't documented in https://learn.microsoft.com/en-us/azure/app-service/app-service-ip-addresses which seems to cover discovering public IP addresses, so I' wary of using it?
In the logs I also see IPv6 ::1 indicating localhost, so I'd guess 10.0.128.25 is also the localhost?
2018-08-30 10:48:19 EXAMPLESITE GET / X-ARR-LOG-ID=ExampleLogId 80 - ::1 AlwaysOn ARRAffinity=ExampleArrAffinityId - EXAMPLESITE.azurewebsites.net 200 0 0 2942 695 108
2018-08-30 10:48:54 ~1EXAMPLESITE GET / - 80 - 10.0.128.25 AlwaysOn - - examplesite.azurewebsites.net 200 0 64 0 457 46463
I've tried using app service console and Kudu powershell console to see if it's the IP address of the instance, but I'm unable to discover more as ipconfig nor Get-NetIPAddress appear to work in the sandbox.
I'd guess 127.0.0.1 wouldn't work, even if it were the same machine, as IIS is interpreting it as another IP?
On the two app service plans I've tried it on so far, it's the same IP.