There are really two main places that define the origin of a port, "Official" ports are defined within an RFC, and all other ports are show an Unofficial, these ports are usually still widely used and accurate, they're just not defined in an official standard, that allocates them the port to use.