The TCP definitions as well as all ports asociated to a service on your computer are located at "C:WINDOWSsystem32driversetc" in a file named "services". For more info regarding ports you can try searching the
http://www.ietf.org/ site.
I hope this helps a little.