SNAT Port Exhaustion

Check detector from Diagnose and Solve problems : Snat Port Exhaustion

Check TCP connections to find the dependency

Each instance on Azure App service is initially given a preallocated number of 128 SNAT ports.

Troubleshooting intermittent outbound connection errors in Azure App Service

Another reason can be that dependency is slow even if the connections are properly closed (check slow request execution and app insights)

Full action plan can be found on the detector Snat port exhaustion "view solution"