I'm currently working on an application tied to a nodejs localhost database API. When I test on the iOS simulator, I am getting API data back successfully. However, when I try to test on the iOS device, the application is still making a HTTP request to the localhost API and failing to retrieve the API data.
My question is, is it possible to somehow set up the localhost database API to work on the actual iOS device? if so, what is the best way of going about it?
thank you