I work remotely and connect to my office through a VPN client. Every program on my computer can access the office network, browsers can connect to intranet sites (e.g. http://myportal/
). When I open an Android emulator up and open the browser, it cannot access any of the intranet sites.
Any idea why, or how to get it to do this?
EDIT: It seems to be able to access it via the IP just fine, so it looks like a DNS issue. Any idea how to get the emulator to use the DNS address my connection is set up to use?
EDIT 2: I tried launching the emulator with the DNS tied to my VPN connection and that did not seem to help emulator -avd Default -dns-server 192.16.200.100,192.16.4.2
If your VPN software is not working properly, you can do several things: check your network settings, change your server, make sure the right ports are opened, disable the firewall, and reinstall your VPN software. If none of the below methods are working, it's time to contact your VPN provider.
One of the most common reasons why the VPN is connected but not working is a DNS configuration issue. It may also occur if you configure the VPN connection to use the default gateway on the remote network. Browse the web from multiple devices with industry-standard security protocols.
Go to your Android\Sdk\emulator folder and open command prompt. Type emulator -list-avds to see available emulator names. Type emulator -avd name-of-your-device -netdelay none -netspeed full -dns-server 8.8. 8.8 command and press enter.
The good news is that anybody can use a VPN for BlueStacks to gain online privacy while using apps from the Google Play store on a Mac or Windows PC. A VPN is an online privacy tool that encrypts your data and tunnels it to a remote server location.
Settings
> Network & internet
> Private DNS
> Off
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With