ConnectionPolicy.PortReuseMode - ReuseUnicastPort vs PrivatePortPool #3715
-
Hi, we see below socket exception in our highly used regions -
Came across the ConnectionPolicy.PortReuseMode. Currently, we are using the default setting. Found this guidelines on ephemeral ports which suggests to use PrivatePortPool mode. We would like to know -
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
These options are useful or applicable, when you are on direct mode (ref. https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/sdk-connection-modes#available-connectivity-modes) . In your case, exception is coming from HTTP client. Something like this https://stackoverflow.com/questions/41836209/only-one-usage-of-each-socket-address-protocol-network-address-port-is-normall |
Beta Was this translation helpful? Give feedback.
These options are useful or applicable, when you are on direct mode (ref. https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/sdk-connection-modes#available-connectivity-modes) . In your case, exception is coming from HTTP client. Something like this https://stackoverflow.com/questions/41836209/only-one-usage-of-each-socket-address-protocol-network-address-port-is-normall