Glimpse.axd 403ing On IIS

若如初见. 提交于 2019-12-05 05:55:43
CrazyCoderz

This is usually due to the fact that your source IP Address is not allowed in the web.config section for Glimpse. I just ran in to this issue yesterday.

Look for this in your web.config file, it can go anywhere in the web.config file.

<glimpse enabled="true">
  <ipAddresses>
    <!-- List of IP addresses allowed to get Glimpse data. Optional. localhost (IPv4  &IPv6) by default -->
    <add address="x.x.x.x"/> <!--The ip of your machine -->
    <add address="::1"/>
  </ipAddresses>
</glimpse>

I got an error like this when trying to access http://leniel-pc:8083/glimpse.axd:

403 Forbidden
Ensure 'aa90::edad:55a5:7777:cd2c%11' is configured for Glimpse access.

After doing this:

<glimpse enabled="true">
  <ipAddresses>
    <!-- List of IP addresses allowed to get Glimpse data. -->
    <!--The ip of your machine -->
    <add address="aa90::edad:55a5:7777:cd2c%11"/>
  </ipAddresses>
</glimpse>

Problem solved! :D

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!