title: Volley library does not connect to 10.0.2.2
body: <p>I have added volley library to my android project. I am using android emulator. I just want to get data from my localhost. Thats why I have set url to <a href="http://10.0.2.2/test.php" rel="nofollow noreferrer">http://10.0.2.2/test.php</a> .</p>
  
  <p>But problem is volley does not connect to this address. But in my android emulator I tried this link with google chrome. It is working fine. But if I change the url to google.com or other websites, volley library is working fine. Only <a href="http://10.0.2.2/test.php" rel="nofollow noreferrer">http://10.0.2.2/test.php</a> this url is not working in volley but not other browser in Android emulator.</p>
  
  <p>Can anyone tell me is volley library does not support this local host ip 10.0.2.2?</p>
  
  <p>Error:</p>
  
  <blockquote>
    <p>com.android.volley.NoConnectionError: java.io.IOException: Cleartext
    HTTP traffic to 10.0.2.2 not permitted</p>
  </blockquote>