This question already has an answer here:
- What is certificate pinning? 6 answers
I have to test the native android application on device, so
- I Installed the zap certificated on my device and set the proxy in my device to my system ip where zap is installed and port to 8085.
- In zap i have just set the local proxy as 0.0.0.0:8085.
After using a Phone with lolippop os I am able to capture the request for all applicaations, but in response for few applications I am getting error as
ZAP Error [java.net.ConnectException]: Connection refused: connect Stack Trace: java.net.ConnectException: Connection refused: connect
This error is generated only for certain apps (example Instagram,banking).