I'm creating an internal collaboration tool that will use a central server (on an intranet) and one or more ports for socket communication to clients. I know that many ports are reserved for particular purposes and others are conventionally used for certain types of traffic.
How should I go about picking a default port that is least likely to have been "claimed" by someone else for their tool? Is there a database that identifies all known (even unconventional) port usage?