I. Description of the problem
In doing mobile end development tools often need to use the interface in order to capture the front and rear side debugging convenient, Charles is a good capture tool. But the recent discovery of "local ip address" is always displayed as: 127.0.0.1, this is the point of this machine ip address, phone proxy If this is not ip packet capture. Prior has been good, why suddenly this out? It feels very strange.
Second, the problem is solved
Method 1: host configuration
Internet Solutions made a series of research, said most of the following ways:
Add a line in the host file: 127.0.0.1 localhost.charlesproxy.com
This is also the official solution, also see some people use this method after successfully resolved, but I try to modify is not acceptable.
Method 2: Upgrade Charles
After the method can not be successfully resolved, I will try to upgrade to the latest version to try, because my previous version is 3.9.3 (due to the need to pay may well appear after upgrade, too much trouble to break, it has not been upgraded), see the official the latest version is 4.2.8, download the update directly, update after successfully solve the problem.
Get!