I want to embed a web server in an application for iPhone to download files from the application’s document directory. I am using iPhone Http Server .
Everything works fine on the iPhone simulator. Even I can get files using http: //: or localhost :.
But on the device I can’t connect. Safari says, "Cannot open the page." Even http: //iphone.local : doest does not work on the same device on which the application is installed.
Please offer.
source
share