Accessing localhost on my iPhone
- by mohabitar
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?