11

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

cowsay
  • 1,282
  • 1
  • 15
  • 36
  • 2
    Did you fix this? I am having the same issue. – VIN Jul 31 '16 at 20:32
  • 1
    Were you able to fix it ever? – Zahid Rasheed Sep 23 '16 at 22:12
  • if it's for web requests I'd sugest you to install privoxy or some similar software in your computer and issue the requests (when in debug environment) to the fake localhost as here: http://stackoverflow.com/questions/5806220/how-to-connect-to-my-http-localhost-web-server-from-android-emulator-in-eclips – eduyayo Oct 27 '16 at 10:48

1 Answers1

3

Settings > Network & internet > Private DNS > Off

Tatsuya Fujisaki
  • 1,434
  • 15
  • 18