Looks like something wrong with Azure App services and list of outbound IPs.
Recently my service stopped suddely working and it turned out that app could not connect to MongoDB as service was not in whitelist...
OK, I checked outbound IPs (App Service, Settings - Properties), added all Outbound IP addresses and Additional Outbound IP addresses to Mongo whitelist... Didn't help...
So I added into MongoDB access from all IPs - connection established...
Ok, I added simple http request into code to see outbound IP
public static async Task Main(string[] args)
{
HttpClient client = new HttpClient();
await client.GetAsync("https://requestinspector.com/inspect/<hereIsMyValue>");
CreateHostBuilder(args).Build().Run();
}
Service, re-deployed - and what I see - is totally different IP.. from 20.119.x.x range..
What's going on??? How come?