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



ipconfigit, or open the network properties to find the current ip address of the NIC that is on the same subnet as your macOS device, etc...) Then use that IP address to also bind your DotNetCore server during its startup so it is listening on that subset for inbound traffic requests