Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
This port is widely used by other software (mostly some server-side apps).
I am not sure if it's possible in ObjC, but in Java when you create server socket, you can specify port=0 there. In this case app uses first available port.