locked
[Q&A Redirect] Does the Azure web jobs listen UDP ports? RRS feed

  • Question

  • I created a console application & deployed as a web job in azure in another Web API project to send the message to the web job via UDP port. Does the Azure web jobs listen UDP ports?
    Friday, February 7, 2020 5:21 AM

All replies

  • Thanks for asking question! No, it doesn't. To elaborate on this, All Azure Web Apps (as well as Mobile App/Services, WebJobs and Functions) run in a secure environment called a sandbox and each app runs inside its own sandbox and the only way an application can be accessed via the internet is through the already-exposed HTTP (80) and HTTPS (443) TCP ports; applications may not listen on other ports for packets arriving from the internet. However, applications may create a socket which can listen for connections from within the sandbox. For example, two processes within the same app may communicate with one another via TCP sockets; connection attempts incoming from outside the sandbox, albeit they be on the same machine, will fail.

    You may refer to similar thread here.

    -----------------------------------------------------------------------------------------------------------

    We're migrating from MSDN to Microsoft Q&A as our new forums and Azure App Service has already made the move!  In future, you can ask and look for the discussion for Azure App Service related questions here:   https://docs.microsoft.com/answers/topics/azure-webapps.html

    We are actively working to onboard remaining Azure services on Microsoft Q&A. We will make a public announcement once complete. Want to Learn more about new platform: Microsoft Q&A Getting Started



    Monday, February 10, 2020 12:16 PM