Telerik blogs

Do you use Fiddler to inspect the HTTP traffic?

You may be faced with the following problem: since we started using the beta of the IE7 browser we started experiencing problems when monitoring the requests sent to http://localhost or http://127.0.0.1 - the requests were not reported by the Fiddler tool.

It took us some time to understand what was the exact reason for this until we found the workaround for this issue here:

http://www.fiddlertool.com/Fiddler/help/hookup.asp

--- quote ---

Why don't I see IE7 or System.NET traffic sent to http://localhost or http://127.0.0.1?

IE7 and the .NET Framework are hardcoded not to send requests for Localhost through any proxies, and as a proxy, Fiddler cannot intercept such traffic.

The workaround is to use your machine name as the hostname instead of Localhost or 127.0.0.1. So, for instance, rather than hitting http://localhost:8081/mytestpage.aspx, instead visit http://machinename:8081/mytestpage.aspx.

--- end quote ---

What tools for monitoring the HTTP traffic do you use? Have you experienced the same issues?


Have a nice debugging and may the source be with you! :)


About the Author

Valio Stoychev

Valentin Stoychev (@ValioStoychev) for long has been part of Telerik and worked on almost every UI suite that came out of Telerik. Valio now works as a Product Manager and strives to make every customer a successful customer.

 

Comments

Comments are disabled in preview mode.