Can't Get Fiddler to Capture local traffic to IIS

后端 未结 6 1358
南旧
南旧 2021-02-07 18:32

I have recently installed the latest Fiddler (Fiddler4) and absolutely nothing that I try is working to get it to capture local traffic. I have an MVC application that is conne

6条回答
  •  既然无缘
    2021-02-07 19:35

    The easiest reliable solution I know to capture non-Webbrowser traffic is to explicitly specify Fiddler's port as proxy for web requests. Depending on requests your code is making code would look similar to:

     request.Proxy = new WebProxy("127.0.0.1", 8888)
    

    Note: don't forget to run Fiddler with "Capturing" and "All Process" (visible in status bar of Fiddler)

提交回复
热议问题