Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
286 views
in Technique[技术] by (71.8m points)

c# - 让Fiddler捕获远程流量(Getting Fiddler to capture remote traffic)

On my webserver I have an web app installed and I want to monitor traffic to/from that app.

(在我的网络服务器上,我安装了一个Web应用程序,并且我想监视与该应用程序之间的流量。)

Hence I installed Fiddler.

(因此,我安装了Fiddler。)

When I browse to that app from the webserver/through localhost the traffic is captured however when I browse to the web app from a different server no traffic is captured.

(当我从Web服务器/通过localhost浏览到该应用程序时,捕获了流量,但是当我从其他服务器浏览到Web应用程序时,没有捕获到流量。)

I tried adding:

(我尝试添加:)

 <system.net>
     <defaultProxy enabled="true">
         <proxy proxyaddress="http://127.0.0.1:8888" bypassonlocal="False"/>
     </defaultProxy>
</system.net>

to web.config and to machine.config with no success.

(到web.config和machine.config都没有成功。)

  ask by Peter Chikov translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

The answer accepted by the OP involves installing Fiddler at the server, checking the Allow remote computers to connect in options and setting the proxy at the client that points to the server on the port Fiddler is exposed.

(OP接受的答案包括在服务器上安装Fiddler,选中“ 允许远程计算机连接”选项,并在客户端上设置代理,该代理指向Fiddler暴露的端口上的服务器。)

They have some screenshots of this setup here .

(他们在此处有此设置的一些屏幕截图。)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...