I am trying to do a debug session on my App (Android) by monitoring the outbound/inbound HTTP traffic.
I have followed these steps for the setup,
ifconfig
. Let's say it was 172.x.x.x
.8888
.Issues,
Help -> Local IP Address
, I see that the IP is 127.0.0.1
and not 172.x.x.x
.172.x.x.x
as the Local IP Address.What am I doing wrong here? Does /etc/hosts
affect this setup in anyway?
I have found couple of solutions for this. Both will work -
Note down your actual IP address from the IFConfig.
My actual IP here is 172.16.16.22
.
In your mobile wifi's proxy connection, enter this above IP address and 8888 as port value. You will start seeing traffic in the charle's proxy application.
If you are in office WIFI, it is probable that VPN has some issue. In such cases, connect to the VPN from the VPN software provided to you by your office. This will follow same procedure as you would connect to your office network (VPN) from your Home WIFI.