How should one go about choosing a default TCP/IP port for a new service

networkingtcp

When developing an app that will listen on a TCP/IP port, how should one go about selecting a default port? Assume that this app will be installed on many computers, and that avoiding port conflicts is desired.

Best Answer

Go here and pick a port with the description Unassigned