Azure website message “You do not have permission to view this directory or page.”. What to do?

前端 未结 10 1921
陌清茗
陌清茗 2020-11-28 11:54

After I published an ASP.NET Core app to Azure from Visual Studio 2017 I am getting this message when I click on the app url:

It was working fine before. Is

10条回答
  •  爱一瞬间的悲伤
    2020-11-28 12:31

    You do not have permission to view this directory or page.
    

    This message show when you have restrict ip on IIS config. Check your Web.config file and add your ip address in security section like below:

    
    
    
    
    
    
    

    Remove it if you do not want to restrict any ip address.

提交回复
热议问题