This is a migrated thread and some comments may be shown as answers.

Can't filter to show only localhost

1 Answer 1975 Views
Windows
This is a migrated thread and some comments may be shown as answers.
Avrohom Yisroel
Top achievements
Rank 1
Avrohom Yisroel asked on 10 Dec 2019, 04:07 PM

I'm trying to debug a WPF client that talks to a WCF service, all running in Visual Studio. The service project (that holds the WCF services) is configured to use port 50000, and the WPF client has end points for that in the app.config.

I changed the WPF client to use localhost.fiddler:50000, which shows the requests in Fiddler, but I'd like to filter out everything else, so I only see these requests. However, I can't get the filtering to work.

If I enable filters, and set it to show only localhost.fiddler:50000 and localhost:50000, then when the WPF client makes a request, I see an entry for 
localhost:50000 in Fiddler, but this disappears as soon as the request has completed, so I can't inspect it.

I tried clearing the hosts filter, and telling it to show only intranet hosts, but this didn't show anything.

The weird thing is that if I set it to hide the most common hosts that I don't want (things like Skype, Teams, etc), then I get the same behaviour as above, ie the 
localhost:50000 requests appears briefly, and then disappears. The same happens when I try using a web browser, so it's not just Visual Studio and 
localhost:50000

Anyone know what's going on here? I'm using the latest version of Fidller on Win7 Pro 64-bit, with VS2019.

1 Answer, 1 is accepted

Sort by
0
Eric R | Senior Technical Support Engineer
Telerik team
answered on 12 Dec 2019, 07:17 PM

Hi Avrohom Yisroel,

Thank you for providing a detailed explanation. In order to capture WCF Services, there are a couple of steps that need to be completed. See the list below. 

1. Add the following Proxy settings to the WCF Services configuration. This will point it to the Fiddler Proxy Address.

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

2. Add the Show only the following Hosts Filter as shown in the below screenshot.

For additional reference, I have attached a working sample. In order to test the sample, the host port may need to be changed in Fiddler to reflect the updated port of the WCF Services.

Please let me know if you need any additional information. Thank you for using the Fiddler Forums.

Regards,


Eric R | Technical Support Engineer
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Windows
Asked by
Avrohom Yisroel
Top achievements
Rank 1
Answers by
Eric R | Senior Technical Support Engineer
Telerik team
Share this question
or