IPhone - access to the XAMPP server (localhost) on my Mac on the same network

I want to create an iPhone app that calls calls to a web service. For testing, I want to first create the API calls on my mac (the server running XAMPP), and if it works fine, I want to transfer it to the actual server.

If my iPhone and Mac are on the same network, can I access the web service using the IP address of my mac?

Thanks.

+3
source share
4 answers

Every time someone answers “why not”, ignore the message. It just takes up space and adds absolutely no value ... their post mimics their life.

, ( WAMP) iPod Touch, IP- Touch. . , :

http://www.frihost.com/forums/vt-88381.html

!

+4

, Ipod Touch, http://ip http://local_dns_name

iphone/ipod (, Wi-Fi, 3g/), .

+2

:

, -, . - Charles , , hosts macbook, - apache - vhost, .

http://www.charlesproxy.com/documentation/faqs/using-charles-from-an-iphone/

0

?

?

-3

Source: https://habr.com/ru/post/1713418/


All Articles