SocketException when running MCP server on Azure App Service #386
Replies: 1 comment
-
On troubleshooting I realized that this was caused by the fact that I deployed the app as self-contained. Switching to portable resolved the issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Question Category
Your Question
I've created a test SSE MCP server based on ModelContextProtocol.AspNetCore. I can run it fine locally and can connect to it from a client.
However, when I run it on Azure App Service, I get
System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions.
I've checked that the port configuration is fine (it's all mapped on port 80).
Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions