title: How to solve SocketException: Failed host lookup: 'www.xyz.com' (OS Error: No address associated with hostname, errno = 7)
body: <p>Whenever I try to do an http call after about 20 seconds I get in the console the following error: </p>
  
  <pre><code>E/flutter ( 8274): [ERROR:flutter/shell/common/shell.cc(184)] Dart Error: Unhandled exception:
  E/flutter ( 8274): SocketException: Failed host lookup: 'flutter-project-xxxxx.firebaseio.com' (OS Error: No address associated with hostname, errno = 7)
  </code></pre>
  
  <p>This error happens for every method and every route I call through the app http package.</p>
  
  <p>I'm developing a flutter app on Windows, using an AVD virtual device from Android Studio.</p>
  
  <p>Versions: </p>
  
  <pre><code>  http: ^0.12.0+1
    flutter: 1.0
  </code></pre>
  
  <p>Cases: </p>
  
  <ol>
  <li><p>From home or though tethering from my phone: 
  connectivity works fine on every part of the virtual device</p></li>
  <li><p>From my work network (behind the firewall):</p></li>
  </ol>
  
  <p>Only with Android Web View, I can browse the internet without any problem (i can even call the same url, I use in the code and it works).
  I get a connection error when using any other application (Chrome, Google Play, ecc...) in the virtual device, and specifically the "SocketException", when testing my app.</p>
  
  <p>What is the difference between the calls coming from that app? 
  Is there a way to route my app calls the same way as the ones in the webview? </p>
  
  <p>Thanks!</p>