Not able to see the localhost traffic in fidler

1,857 views
Skip to first unread message

Satya masabattula

unread,
Jan 24, 2014, 3:50:47 AM1/24/14
to httpf...@googlegroups.com
Hi Guys,
 
I am developing a .net application.I was tring see the calls going out using fidler.i could see all but not localshost calls.(Debugging my project in IE only)
I remember ,I had solved this problem by changing the rules file in the fidler   but  i forget where did i change and what did i change.
I you could provide me the solution thats a great help for me.thanks in advance.
 
Regards,
Satya

EricLaw

unread,
Jan 24, 2014, 1:14:36 PM1/24/14
to httpf...@googlegroups.com
Hi, Satya!

You said you're building a ".NET application" but also note that you're "debugging in IE"? Which traffic are you trying to see? Traffic from IE, or from a .NET client application?

IE9 and later will show http://localhost traffic by default.
.NET client applications will not show localhost traffic unless you use one of a number of workarounds. See http://tinyurl.com/k4o7ms3

Jan Hansen

unread,
Feb 5, 2014, 6:17:54 AM2/5/14
to httpf...@googlegroups.com
Hi Eric

The written word can easily be misunderstood - and english isn't my native language. BUT.. providing a tinyurl to "Let me bing that for you" seem quite arrogant to me. How about suggesting the search terms to the guy instead?

As it happens, I came across this post because I have a strange problem that may resemble Satya's problem.

I'm also developing a .net application (with visual studio 2010), and trying to get fiddler to show traffic between my IE8 (sigh) and iisexpress. Fiddler will capture requests to e.g.
http://www.telerik.com
http://localhost:8888

but NOT to
http://localhost:57976 - which is where iisexpress is listening

if I replace "localhost" with "MyMachineName" it will capture, but iisexpress will not respond. The same goes for "localhost." - notice the trailing dot.

Help -> Troubleshoot Filters... does not provide anything extra when reloading the page.

Then I tried to remove the <-loopback>; entry in Fiddler options -> Connections tab -> Bypass Fiddler for URLs that start with: textbox. But clearing the textbox and clicking OK does nothing. When you open the dialog again, the value is still there. Is that a bug?

Finally I discovered that using "localhost.fiddler:57976" worked - it makes fiddler capture the requests and iisexpress responds to the queries. Maybe that would work for you as well, Satya.

Why doesn't Fiddler capture localhost requests? Is it due to my usage of IE8 (corporate chioce) or more specifically to IE8s proxy server usage? Or something like that?

Regards
Jan

EricLaw

unread,
Feb 5, 2014, 12:33:10 PM2/5/14
to httpf...@googlegroups.com
Hi, Jan-- Users who don't perform even a basic search for answers (including searching this forum) end up wasting everyone's time. I'm sorry if mentioning this offends you.

As documented, Internet Explorer 9 was the first version that sends loopback traffic to the proxy. On popular search engines, including the one I linked for Satya, the first dozen or so links document the localhost.fiddler workaround that is available for earlier browsers. That information is also readily available if you type "localhost" in the search box on the Fiddler homepage. http://docs.telerik.com/fiddler/observe-traffic/troubleshooting/notraffictolocalhost
Reply all
Reply to author
Forward
0 new messages