Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get Fiddler to filter specific localhost ports

In a reverse of the usual request of how do I get Fiddler to capture requests to localhost, how do I stop it getting specific ports?

Since installing the IE 9 RC, I'm getting loads of requests to Mesh appearing ...

http://localhost:2048/V4.0i/Sync/Devices/SDI6BHE6YYAHMR67S32S4MTROU/Endpoints

I've tried adding locahost:2048 to the Fiddler Filters / Hide the following Hosts, but that's not working

like image 874
SteveC Avatar asked Feb 25 '11 10:02

SteveC


People also ask

How do I configure my fiddler to listen to localhost?

If you're using FireFox, Fiddler's add-on will automatically configure it to not ignore localhost when capturing traffic. If traffic from localhost is still (or suddenly) not appearing, try disabling and re-enabling traffic capture from Fiddler to goad the add-on into fixing the proxy configuration.

How do you filter the host in Fiddler?

The Host Filter dropdown enables you to flag or exclude displaying of traffic to specified domain names. Use the wildcard symbol to adjust your filter, for example: To display traffic from subdomains of fiddler2.com: Select Show only the following Hosts.

What port is Fiddler using?

Fiddler listens on port—Defines the port that Fiddler Everywhere uses to listen for web traffic. The default port is 8866. Act as a system proxy on startup—Controls whether Fiddler Everywhere will be registered as the system proxy during startup.


1 Answers

Sussed it ... in Fiddler, open the custom rules with Ctrl+R and add to the OnBeforeRequest ...

if (oSession.host=="localhost:2048"){
    oSession["ui-hide"] = "true";
}
like image 64
SteveC Avatar answered Sep 29 '22 14:09

SteveC