I am growing for iOS with Flutter.
I created a digital atmosphere on my Mac utilizing Digital BOX and Vagrant, and arrange a server to course of API requests and return outcomes.
Instance of API
localhost:8888/api/consequence
The issue is that this “localhost”.
I constructed it with Android Studio and checked it with the simulator, and located that I may request localhost:8888/api/consequence and get the consequence again, no drawback.
Nonetheless, after I checked on the precise iPhone system, I discovered that communication was not potential.
I believe the trigger is in localhost.
I anticipate that localhost would be the iPhone itself when constructed on the iPhone.
How ought to I talk with the digital atmosphere on my native system right now?
I wish to make API requests to a digital atmosphere in my native terminal the place I constructed iOS.