How do I display localhost traffic in Fiddler while debugging an ASP.NET application?
views:
2843answers:
8Ensure that in your Fiddler Connections that localhost isn't in the "IE should bypass Fiddler for URLs that start with:" box.
Check out this link...the 'workaround' is hacky, but it does work:
You should uncheck the checkbox:
Bypass proxy server for local addresses
Located at proxy configuration of Internet Explorer.
For an ASP.NET web site project:
1) Right-click the project and select Property Pages
2) Select Start Options
3) Under the Server section, click the "Use custom server" and edit the Base URL by replacing localhost with your computer's name.
Probably the easiest way to monitor traffic to localhost is to replace "localhost" with "localhost." in the browser's URL bar. E.g.
http://localhost./MyApp/default.aspx
Try with http://127.0.0.1. <-- note the . at the end
So you can still connect to Casini and debug easily (I'm currently debugging page on http://127.0.0.1.:1718/login/Default.aspx ).
Start Fiddler. Go to Tools--> Fiddler Options. Choose Connections tab. Check the 'USe PAC Script' option.
Now you will be able to monitor local traffic as well