title: How to debug a Xamarin iOS app hitting a localhost asp.net core API
body: <p>I have a Xamarin Forms app (Android and iOS, not UWP) that hits a DotNetCore 2.1 API I have created (runs under <code>http://localhost:5000</code>).  All this is being developed using Visual Studio 2017.</p>
  
  <p>I am able to debug the Android side with the address <code>http://10.0.2.2:5000</code> which translates to 'localhost' on the Android side of things.  So I am able to hit my API just fine from the Android simulator.</p>
  
  <p>The problem is on the iOS side.</p>
  
  <p>The iOS simulator is really running on the Mac, and thusly is not able to see my Windows machine running the API.</p>
  
  <p>How do I configure my Windows/Mac machines so I am able to hit my local API?</p>
  
  <p>I am able to ping my Windows machine from the Mac, but that's about it at this point.</p>