title: Run a webserver on an iOS device
body: <p>I want to create an App that can share files between other iOS devices and potentially also Desktop computers.</p>
  
  <p>So what I want to do is run a lightweight web server on my device that allows to download files from the device like so:</p>
  
  <p><a href="http://myphone.local:1234/folder/samplefile.txt">http://myphone.local:1234/folder/samplefile.txt</a></p>
  
  <p>How can I provide such a server on a non-jailbroken device. I would prefer not to write a server like this from scratch :-).</p>
  
  <p>Thanks a lot for your help</p>