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

Fiddler not capturing localhost, but I can't change the base URL

4 Answers 332 Views
Fiddler Classic
This is a migrated thread and some comments may be shown as answers.
Avrohom Yisroel
Top achievements
Rank 1
Avrohom Yisroel asked on 28 Dec 2016, 03:33 PM

I'm trying to debug an application that uses WCF web services, and so want to monitor localhost:50000 for traffic. It seems that by default, Fiddler ignores localhost (although it captures all of the vshub requests that Visual Studio makes for diagnostics, so I'm not sure why it ignores my WCF services).

I saw this page, which describes how to modify the client application to use a different URL, but that won't work for me. I can't modify the application, and am stuck with using localhost:50000.

How do I capture this traffic? Sorry if this is a dumb question, but I'm new to Fiddler, and somewhat overwhelmed so far!

4 Answers, 1 is accepted

Sort by
0
Avrohom Yisroel
Top achievements
Rank 1
answered on 28 Dec 2016, 06:47 PM
Forgot to mention, I'm on Windows 10 64-bit, which includes IE11 if that makes any difference.
0
Avrohom Yisroel
Top achievements
Rank 1
answered on 29 Dec 2016, 03:04 PM

Hmm, think there might be something odd going on here. As a test, I created a new Visual Studio solution, and added a web project with a WCF service.

If I use my browser (either IE or Chrome) and point them at http://localhost.fiddler:9885/PetsService.svc, the default page loads as expected. If I use the WCF test client, it loads and I can make the service calls.

However, despite adding ".fiddler" to the URL, Fiddler does not show the calls. It shows three entries when I add the service to the WCF test client, but two of them are in red, see the attached screenshot. However, when I make the service calls, nothing more appears in Fiddler.

I don't have any filtering applied.

Anyone any ideas?

0
Tsviatko Yovtchev
Telerik team
answered on 05 Jan 2017, 02:47 PM
Hello,

I am not sure I completely understand your scenario. Is it the case that your app and the WCF service it contacts are both hosted on localhost?

Is it possible that this - https://blogs.msdn.microsoft.com/fiddler/2011/12/10/revisiting-fiddler-and-win8-immersive-applications/ is the case for your app?

Regards,
Tsviatko Yovtchev
Telerik by Progress
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
0
Avrohom Yisroel
Top achievements
Rank 1
answered on 05 Jan 2017, 03:43 PM

Hello,

Thanks for the reply. I forgot to mention that the app in question is a WPF one, not Win8, so that blog post doesn't apply.

Thanks anyway, any other ideas?

Tags
Fiddler Classic
Asked by
Avrohom Yisroel
Top achievements
Rank 1
Answers by
Avrohom Yisroel
Top achievements
Rank 1
Tsviatko Yovtchev
Telerik team
Share this question
or