22

Bluestacks allows running of Android apps on Windows by emulating the Android OS image.

I recently installed BlueStacks_HD_AppPlayerPro (0.7.0.725) on Windows XP but was not able to download/install any apps because my network requires a proxy. It shows the following error:

enter image description here

I tried using ProxyCaps like freecap, but it did not work for me. How can I configure BlueStacks to use my proxy settings?

Firelord
  • 25,528
  • 21
  • 129
  • 295
akjain
  • 381
  • 2
  • 3
  • 10

4 Answers4

9

The other answers are way out of date.

BlueStacks installations now includes a command-line utility HD-ConfigHttpProxy.exe to setup a proxy connection. I can't find documentation for this utility anywhere but it's pretty basic:


Using BlueStacks with a Proxy Server

  1. Open BlueStacks. (It has to be open before running the utiity)
  2. Open a Windows command prompt.
    • (eg. hit Windows Key+R → type cmd → hit Enter )
  3. Change to the BlueStacks program folder.
    • (eg. cd C:\Program Files\BlueStacks )
  4. Run HD-ConfigHttpProxy.exe :

Usage:

     HD-ConfigHttpProxy.exe set <host> <port>      connect to specified proxy
     HD-ConfigHttpProxy.exe reset                  reset/stop using proxy

For example: HD-ConfigHttpProxy.exe set 123.45.67.890 4444

  1. When prompted, close and re-open BlueStacks.

Alternatively, you can specify other proxy protocols by including it in the <host> in standard syntax. For example, I used socks://localhost and my custom port number. It took a couple tries but it worked eventually.


To disconnect / reset BlueStacks proxy settings :

  1. Make sure BlueStacks is running
  2. Open a command prompt
  3. Run command: C:\Program Files\BlueStacks\HD-ConfigHttpProxy.exe reset
  4. Close and re-open BlueStacks.
ashleedawg
  • 270
  • 3
  • 11
5

According to Bluestack employee Deepika Sharma:

Currently, we do not support proxy settings in BlueStacks App Player but will definitely consider it in our future release.

This information came from their help forum thread: No network access behind a proxy.


Alex Guerrieri answered stating that it was able to work around this issue using the application you've mentioned. I'm posting a solution here, as I don't know what you have tried:

I found a solution. I used proxycap to redirect Bluestacks through proxy (even with LDAP). You have to download and install the application, set your proxy and create a new rule for HD-Network.exe (found under Bluestack directory in %Program_Files%). It worked for me.

Andrew T.
  • 16,898
  • 10
  • 77
  • 134
Zuul
  • 8,748
  • 3
  • 34
  • 68
1

I have being able to use BlueStacks on my network using cntlm + Proxifier. I use cntlm to authenticate on my proxy and Proxifier as a replacement for Proxycaps/WideCap. Proxifier lets you tunnel your socks connections through the cntlm proxy (http://proxifier.com/)

1

Use a VPN android app that supports proxy (e.g. AgoVPN) then connect to the VPN and you will access the internet in BlueStacks. I tested it in Bluestack 5 in Windows 10.

Minimus Heximus
  • 323
  • 1
  • 3
  • 13