The Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) each use port numbers for their communication channels. The ports numbered 0 through 1023 are the well-known system ports, reserved for special use.
Network Ports Explained
Port 0 is not used for TCP/UDP communication, but is used as a network programming construct.