none
WCF applications on Azure AppService fail with error "No protocol binding matches the given address. Protocol bindings are configured at the Site level in IIS or WAS configuration."

    General discussion

  • Your WCF application may have recently started failing with this error:

     

    "No protocol binding matches the given address 'http://someaddress/Service.svc'. Protocol bindings are configured at the Site level in IIS or WAS configuration."

     

    This is caused by a recent change in how Azure App Service infrastructure stores the site bindings in the applicationHost.config file. The change is required in order to prevent random restarts of webapp after deployment slots swap. To prevent this error add this application setting to the webapp and all its slots:

     

    WEBSITE_ADD_SITENAME_BINDINGS_IN_APPHOST_CONFIG = 0


    Apurva Joshi, This posting is provided "AS IS" with no warranties, and confers no rights.

    Friday, March 2, 2018 6:19 PM
    Owner

All replies