Jul
21st
Wed
21st
When running a server on port 0, the system will run it on a random port from 1-65535 or 1024-65535 depending on the privileges of the user.
—
List of TCP and UDP port numbers - Wikipedia, the free encyclopedia
This seems like something I really should have known already…