I have a Linux based Azure App Service web app running a .NET gRPC server. I’m having some issues with SNAT exhaustion which I believe is causing intermittent 500 exceptions in the client. We don’t have a VNet/NAT in front of the service, so my understanding is we have 128 outbound ports per instance available. I’ve read the documentation over and over to understand what constitutes an outbound connection but still can’t figure it out clearly.
- If I create two channels (TCP connections) to the gRPC server from the same IP, does this use two of the 128 outbound ports or does it not use any at all?
- If none, is it things like SQL Server connections and other HTTP (or other protocol) outbound connections that use these ports?
Please forgive my poor understanding of this concept, thank you.