1

This question already has an answer here:

I have to test the native android application on device, so

  1. 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.
  2. 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).

`

marked as duplicate by Steffen Ullrich, schroeder Oct 31 '17 at 8:36

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • I realize this is a Jeopardy style flagging but you just don't know the word for what you're looking for. You can't access these sites/apps because they use SSL pinning. What is SSL pinning, see flag. – Sirens Oct 31 '17 at 2:10
  • I am now able to capture request in ZAP after using phone with Lolipop os. But Still I am not able to receive the resopnse – Rick Nov 22 '17 at 11:34