Reputation: 174
I am working on a project that involves using ip:port proxies. My C# application uses geckofx web browser, which allows me to specify a proxy to route traffic through. I need to be able to see the traffic in fiddler, but whenever I try and load a webpage via my C# application's web browser(configured with a ip:port proxy, I do not see any traffic in fiddler. I also do not see any traffic without a proxy.
Browsing through a web browser like chrome, I can see all the traffic that goes through...what am I missing?? Why can I not view traffic from my C# app?
Upvotes: 2
Views: 1461
Reputation: 57075
Fiddler is a proxy server; it sees traffic that is sent to it. It registers itself as the default system proxy on startup and reverts that on shutdown. If your application manually specifies another proxy, it won't send its traffic to Fiddler.
To fix that, either configure the client to point at Fiddler and configure Fiddler to "chain" to your upstream proxy, or configure your other proxy to "chain" to Fiddler.
It's probably simplest to do the former: set the upstream proxy inside Tools > Fiddler Options, or make it IE's default proxy when Fiddler isn't running.
Upvotes: 1
Reputation: 34846
If you are using localhost
in your URL, then you need to add a dot (.
) to the end of localhost
, like this:
http://localhost.:56789/YourPage.aspx
Note: 56789
is a made up port number, but you will need to use the one that gets generated for you automatically when running via Visual Studio.
Upvotes: 0