【发布时间】:2015-07-28 14:09:31
【问题描述】:
我在 localhost 和公共上运行相同的 Service1 服务:http://calculator.gear.host/Service1.svchttp://localhost:8733/Design_Time_Addresses/WcfServiceLibrary1/Service1/mex。
我想使用 Fiddler 抓取数据包进行测试。作为客户端行为WcfTestClient.exe 应用程序内部配置
`WcfTestClient.exe.config` that asks wcf client go through proxy.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.net>
<defaultProxy>
<proxy
bypassonlocal="false"
proxyaddress="http://127.0.0.1:8888"
/>
</defaultProxy>
</system.net>
<runtime>
<DisableMSIPeek enabled="true"/>
</runtime>
</configuration>
calculator.gear.host 一切正常,但我无法在 Fiddler 中使用 localhost 或 10.1.2.112(我的以太网 IP)查看数据包。
【问题讨论】: