Skip to content

Commit 80c0b18

Browse files
Updates for 8692
1 parent d83a2b6 commit 80c0b18

2 files changed

Lines changed: 42 additions & 0 deletions

File tree

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: An Attempt was Made to Access a Socket in a Way Forbidden by its Access Permissions Message
3+
description: This article provides guidance on addressing "An attempt was made to access a socket in a way forbidden by its access permissions" message in Azure App Service.
4+
author: JarrettRenshaw
5+
manager: dcscontentpm
6+
ms.topic: troubleshooting-general
7+
ms.date: 12/19/2025
8+
ms.author: jarrettr
9+
ms.reviewer: v-ryanberg
10+
ms.service: azure-app-service
11+
ms.custom: sap:Availability, Performance, and Application Issues
12+
---
13+
# "An attempt was made to access a socket in a way forbidden by its access permissions" message
14+
15+
This article provides guidance on addressing "An attempt was made to access a socket in a way forbidden by its access permissions" message in Azure App Service.
16+
17+
## Symptom
18+
19+
You see the message "An attempt was made to access a socket in a way forbidden by its access permissions."
20+
21+
## Cause 1
22+
23+
This error typically occurs if the outbound TCP connections on the virtual machine (VM) instance are exhausted. In App Service, limits are enforced for the maximum number of outbound connections that can be made for each VM instance.
24+
25+
## Solution 1
26+
27+
For more information, see [Cross-VM numerical limits](https://github.com/projectkudu/kudu/wiki/Azure-Web-App-sandbox#cross-vm-numerical-limits).
28+
29+
## Cause 2
30+
31+
This error might also occur if you try to access a local address from your application.
32+
33+
## Solution 2
34+
35+
For more information, see [Local address requests](https://github.com/projectkudu/kudu/wiki/Azure-Web-App-sandbox#local-address-requests).
36+
37+
## Resources
38+
39+
For more information about outbound connections in your web app, see the blog post about [outgoing connections to Azure websites](https://www.freekpaans.nl/2015/08/starving-outgoing-connections-on-windows-azure-web-sites/).
40+

support/azure/app-service/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ items:
1717
href: ./capture-memory-dumps-app-service.md
1818
- name: Availability, performance, and application FAQs
1919
href: web-apps-performance-faqs.md
20+
- name: An attempt was made to access a socket in a way forbidden by its access permissions message
21+
href: socket-forbidden-access-permissions-message.md
2022
- name: ASP.NET Core applications hosted in App Service stop responding
2123
href: asp-net-core-apps-stop-responding.md
2224
- name: Error 403 - This web app is stopped message

0 commit comments

Comments
 (0)