ios - Connect iPhone to localhost -


i trying connect test device local server -- , while simulator works fine accessing localhost:8000, can't seem connect device. despite fact device , computer both connected same wifi network.

so far, have tried work going system prefs -> network -> grabbing ip address says 'wi-fi connected mywifinetwork , has ip address 10.0.0.52'.

then, go safari on device , type in http://10.0.0.52:8000. however, gives me message being unable connect server.

i've tried using 'name' of computer (which grab system prefs->sharing or more terminal window) , try typing in on device's browser so: http://mymac:8000 not work either.

any ideas?

thanks

the way did use charles web proxy, , map production url localhost:8000.

charles provides excellent documentation getting device , running purpose.


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -