Fylix
Fylix

Reputation: 2713

Capture local http post traffic

I have two C# winform applications on the same window machine.

I'm trying to see the post/request traffic like I normally would when viewing http traffic in Fiddler2. I have no luck so far when trying to capture this traffic with fiddler2, Charles and Wireshark.

Does anyone have insight on how to capture this traffic?

Upvotes: 1

Views: 1060

Answers (2)

alex
alex

Reputation: 12654

Fiddler cannot intercept localhost traffic, because fiddler is a proxy server, and local requests are not sent through proxy server by the .NET Framework.

To work around this, you can update your applications to send data to localhost.fiddler instead of localhost

Upvotes: 1

Patrick D'Souza
Patrick D'Souza

Reputation: 3573

To see the requests to your localhost application using fiddler, please set the URL in the calling application as shown below

http://localhost.fiddler:4567/

The following post should help you out

Monitor traffic to localhost from IE or .NET

Upvotes: 2

Related Questions