Azure-docs: AppService websocket vs ip limits

Created on 8 May 2020  Â·  12Comments  Â·  Source: MicrosoftDocs/azure-docs

How does the websocket limits in AppServices relate to the IP limits? Eg, on a S1 there are unlimited websockets possible, but only 1920 (outbound) IP's. Is the actual websocket limit for a S1 1920?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri1 assigned-to-author azure-resource-managesvc managemensubsvc product-question triaged

Most helpful comment

Requested clarification from the App Service documentation owners about the relationship between the limits for Web sockets and IPs.

All 12 comments

@tomkuijsten thank you for the feedback. I'll research the issue and post an update when more information is available.

Any progress?

Research is in progress.

Requested clarification from the App Service documentation owners about the relationship between the limits for Web sockets and IPs.

Hi @tomkuijsten can you provide details on your particular scenario - what are you trying to do ? Generally speaking, websockets and outbound calls/IPs are independent of each other.

I want to use an app service to host websockets for +/- 20k unique clients (unique ip addresses) on a S1. Load tests prove that from 1 IP 20k websockets is possible, but I'm not sure if it works from 20k unique ipaddresses.

Okay, the connection limit is for outbound connections from the app (API calls or other services, etc.), not client IPs. I believe your scenario with 20k users using web sockets should work. Let me confirm this and get back to you.

Did you get the confirmation?

Hi @tomkuijsten - the web sockets limit applies to the inbound connections to the application established using web sockets. The other number (in this case 1920) applies to the outbound network traffic generated by an app (in this case an S1 instance).

Hope that helps! If you have additional questions based on your app, I'd recommend you open a support ticket to take a closer look at your app/situation.

Thanks for chasing the confirmation! Would be a good idea to clarify this in the docs. I'll close the issue as you answered my initial question.

Was this page helpful?
0 / 5 - 0 ratings