1

so, I use the CocoaHTTPServer to supply a website on an iOS Device.

When using an iPod Touch or an iPad with iOS 5.1 I can listen on Port 80, less hassle for the user.

Tried doing the same on my iPhone 3G, still running iOS 4.2, getting the error

Error starting HTTP Server: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied" UserInfo=0x3572e0 {NSLocalizedFailureReason=Error in bind() function, NSLocalizedDescription=Permission denied}

Now I know that listening on a Port < 1024 might be restricted, but why did I have no problems on both my iPods and iPad?

Bersaelor
  • 2,517
  • 34
  • 58

0 Answers0