A brief about Computer Ports

A port is a virtual point where a network connection starts and ends. Ports are software-based and managed by computers operating system. Each port is associated with a specific process or service. Ports allow the computer to easily differentiate between types of traffic means which data should go to which webpage and all. Even though all the data reach the computer over the same internet connection

Now there is a concept called port numbers: Ports are standardised across all network-connected devices with each port assigned a specific number for example all the hypertext transfer messages go to port number 80.

Ports are a transfer layer concept. Only a transport protocol called such as transmission control protocol (TCP) or User Datagram Protocol (UDP) can indicate to which port a package should go.TCP and UDP headers have a section to indicate the port numbers. Network Layer protocol for instance Internet Protocol (IP) unaware of what port is in use in a given network connection. In a standard IP header, there is no place to indicate to which port the data package should go to.IP headers only indicate the destination IP address and not the port number at that IP address.

There are 65535 possible ports, although not all are in common use.