- Step 1: Install and Configure Fiddler on PC
- Step 2: Set Up Proxy on Android Device
- Step 3: Install Fiddler’s Root Certificate on Android Device
- Step 4: Start Capturing Traffic
To inspect network traffic on an Android device using Fiddler, you’ll need to set up a proxy configuration to route the device’s traffic through Fiddler. Fiddler works as a proxy server, capturing and logging all HTTP and HTTPS traffic that passes through it. Here’s how you can set it up:
Step 1: Install and Configure Fiddler on PC
- Download and Install Fiddler Classic from Fiddler’s official website.
- After installation, launch Fiddler.
- Configure Fiddler to listen on all interfaces:
- In Fiddler, go to Tools > Options.
- In the Connections tab, check the box Allow remote computers to connect.
- Set the Fiddler Classic listens on port to something like
8888
(default port). - Click OK to apply the changes.
- Configure Fiddler to capture HTTPS traffic:
- In Fiddler, go to Tools > Options > HTTPS.
- Check Decrypt HTTPS traffic.
- Check Ignore server certificate errors (unsafe).
- Click Actions > Trust Root Certificate to install root certificate on your PC.
Step 2: Set Up Proxy on Android Device
- Get your PC’s IP address by running
ipconfig
in your Command Prompt or Powershell. usually something like192.168.x.x
. - Configure proxy on your Android device.
Step 3: Install Fiddler’s Root Certificate on Android Device
- Visit
http://<your_pc_ip>:<port>
in your Android browser, for example:http://192.168.0.101:8888
, it will open a webpage generated by Fiddler. - Click on the FiddlerRoot certificate link on the page and save it to your Android device.
- Install the Root Certificate in the settings.
Step 4: Start Capturing Traffic
- Enable capture in Fiddler. In Fiddler ensure that Capturing is enabled.
- Use your Android device: Open any app or browser on your Android device, and start browsing or using the app. All network traffic will be routed through Fiddler.
- You should start seeing the network traffic appear in Fiddler’s window.