There are a total of 65,535 possible port numbers that can exist in a computer. A lot of these ports are not commonly used. Here is a link to a source that provides a list of all port numbers along with their transfer protocols and descriptions.