Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display localhost traffic in Fiddler while debugging an ASP.NET application?

How do I display localhost traffic in Fiddler while debugging an ASP.NET application?

like image 482
Michael Kniskern Avatar asked May 05 '09 17:05

Michael Kniskern


People also ask

How does Fiddler capture local traffic?

To get Fiddler to capture traffic when you are debugging on local host, after you hit F5 to begin degugging change the address so that localhost has a "." after it. Hit enter and Fidder will start picking up your traffic. Save this answer. Show activity on this post.

Can Fiddler see TCP traffic?

Fiddler and FiddlerCore only handle HTTP/HTTPS traffic. They are not designed to handle raw TCP traffic; you could use something like netcat for that.

How do I record traffic in Fiddler IIS?

Setting up Fiddler for capturing requests Remove all sessions (select all items in the list, press the Delete key) Configure Fiddler to capture HTTPS traffic from the Tools | Fiddler Options... menu. Open the HTTPS tab and check Decrypt HTTPS traffic.


2 Answers

try using this:

http://ipv4.fiddler/folder 

instead of

http://localhost/folder 

this also works with ports

http://ipv4.fiddler:12345/folder 

Here is link to fiddler documentation

http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/MonitorLocalTraffic

like image 188
bendewey Avatar answered Sep 20 '22 08:09

bendewey


To make Fiddler work on localhost with IIS Express you should use this form of URL

http://localhost.fiddler:50262/ 

This puts correct Host header value (localhost) which satisfies IIS Express.

like image 23
mdonatas Avatar answered Sep 23 '22 08:09

mdonatas