Search code examples
azureazure-functionsipv6

Does azure function support ipv6?


Try to write a small azure function to init a tcp connection to a ipv6 address. Always get failure. Error message shows "An attempt was made to access a socket in a way forbidden by its access permissions" Does azure function support ipv6 at all?


Solution

  • No, not only azure function. All of the App Service doesn't support ipv6. This is by design. But you can use Azure Front door to acheive your goal.

    Azure Front Door natively supports end-to-end IPv6 connectivity and also HTTP/2 protocol.

    For example, I have a app service. It doesn't support ipv6.

    enter image description here

    So, I create a front door of this app service.(Use front door as the entrance.)

    Go to 'All Service' on portal -> search 'Front door' -> create front door, and add your web app as the backend host in this page.

    And at last, you can use front door to access your web app, it support ipv6.(Azure Function is designed based on Web App Sandbox, so it is the same.)

    enter image description here