Localhost traffic from Android through Fiddler Everywhere as a reverse proxy.


Product Fiddler Everywhere
Product Version 1.0.0 and above


How can I configure Fiddler Everywhere to direct localhost traffic from the Android loopback address to the host localhost address?


Each Android device and emulator uses special alias like (might differ on different emulators) to your host loopback interface (i.e., on your development machine). To direct the traffic generated from the alias address to the desired localhost endpoint, enable capturing from Android device and then use the Rule Builder to create a rule with the following conditions and actions:

  • A condition where the Host contains the mobile loopback address and the Fiddler proxy port. For example:
  • An action to find and replace the mobile loopback address and the Fiddler proxy port with the desired localhost endpoint on the Fiddler host machine. For example: localhost:4000

Directing mobile loopback to host localhost

That's it! Enable the rule and any request on the Android device to will be directed to localhost:4000. Fiddler Everywhere is effectively acting as a reverse proxy.