Accessing localhost on my iPhone
Posted
by
mohabitar
on Super User
See other posts from Super User
or by mohabitar
Published on 2012-04-15T16:11:26Z
Indexed on
2012/04/15
17:34 UTC
Read the original article
Hit count: 514
I've found similarly titled questions, but none that directly address my issue. I'm running Google App Engine server on my Macbook, and it was configured to use port 8080 on localhost. And so anytime I wanted to run my site, I'd just go to localhost:8080/saveuser
and everything worked fine.
Now, I want to access this same site on my iPhone. I can't just do localhost on my iPhone, so I set up Web Sharing on my mac, and it's set up to http://192.168.1.106/~mohabitar. I can access this from my iPhone, but it only displays a directory of my files, and doesn't actually run the Python script. The only way my Python scripts actually run is if I do localhost:8080
on my computer. What can I do about this?
© Super User or respective owner