我在localhost和public上运行相同的Service1服务:http://calculator.gear.host/Service1.svc http://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)的数据包。
发布于 2015-07-28 14:14:25
根据telerik的说法,您需要使用计算机名,而不是本地主机或IP:
http://docs.telerik.com/fiddler/Observe-Traffic/Troubleshooting/NoTrafficToLocalhost
https://stackoverflow.com/questions/31678804
复制相似问题