title: Accessing localhost server and internet in android emulator
body: <p>How to access localhost server and internet in android emulator ? </p>
  
  <p>I am behind my company proxy, to access the internet I have added the proxy host and port in emulators APN settings. I can able to access the internet, however this setting prevents me from accessing my localhost server since it couldn't able to recognise my machines IP address.</p>
  
  <p>Can anyone help me out with the correct settings/workaround to achieve both internet access and local host development server from Android emulator?</p>
  
  <p>P.S : I am developing an react native application</p>
  
  <p>Edit: </p>
  
  <p>Since I need internet access in my emulator to use Google maps I have added proxy to APN settings in emulator. After adding that I can't access my local development service using machine ip. It's not getting recognised. </p>
  
  <p>Hope my edit gives some clarity on what I want to achieve.</p>