title: Android Studio Failed to fetch - Connection refused: connect
body: <p>Android Studio Setup Wizard (studio64.exe) is not able to fetch some XMLs.</p>
  
  <p>I have set in studio64.exe.vmoptions</p>
  
  <pre><code>-Djava.net.preferIPv4Stack=true
  -Dhttp.proxyHost=... 
  -Dhttp.proxyPort=...
  </code></pre>
  
  <p>Also tried</p>
  
  <pre><code>-Dhttp.proxyHost=www.google.com 
  -Dhttp.proxyPort=80
  </code></pre>
  
  <p>But nothing works and I didn't find anything helpful on google seeming like I'm the only one with that problem.</p>
  
  <p>Details:</p>
  
  <pre><code>Android SDK was installed to C:\Users\*\AppData\Local\Android\sdk
  Refresh Sources:
    Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: Connection refused: connect
    Fetched Add-ons List successfully
    Refresh Sources
    Failed to fetch URL http://dl-ssl.google.com/android/repository/repository-10.xml, reason: Connect Connection refused: connect
  Refresh Sources:
    Failed to fetch URL http://dl-ssl.google.com/android/repository/repository-10.xml, reason: Connect Connection refused: connect
  There is nothing to install or update.
  The following SDK component was not installed: build-tools-21.1.1
  </code></pre>
  
  <p>I'm using a lot of dev tools without a problem and Android Studio is now the first one with connectivity issues.</p>
  
  <p>The XML files mentioned I can access via browser without a problem.</p>