title: React-native - Axios GET request throws network error in Android emulator
body: <p>I am new to React-native. I am trying to perform a simple get request using the following code: </p>
  
  <pre><code>axios.get('http://push-cycling-backend.dev/api/test')
      .then((response) =&gt; {
          console.log(response);
      })
      .catch((error) =&gt; {
          console.log(error);
      });
  </code></pre>
  
  <p>I have tested the request using Postman and everything works fine, but when I run the request in my react-native app using the ANDROID EMULATOR, I get the following error:</p>
  
  <blockquote>
    <p>Error: Network Error</p>
  </blockquote>
  
  <p>I have a feeling this is because I am trying to access a Api end point hosted locally through Xammp via the Android emulator, but I have no idea what to do.
  Please any guidance would be greatly appreciated.
  Kind regards,
  Matt</p>