I have a use case where I need to run a simple HTTP server while listening to iOS on port 80.
On a device that works great on a simulator, I get a bind error, of which port 80 is privileged. This is not critical, but makes testing more difficult than necessary.
On Linux, you can give individual applications access to privileged ports through "setcap" cap_net_bind_service = + ep '/ path / to / program.
How does this work on OSX so that iPhone Simulator can bind to a privileged port?
Frans source share