I want to embed a webserver in an iPhone app so as to download files from application's document directory. I am using iPhone Http Server.
Everything works fine on iPhone simulator. Even I am able to get files using http://: or localhost:.
But on device I am not able to connect. Safari says: "Cannot open page". Even http://iphone.local: doest not work on same device as app is installed.
Please suggest.