Friday 9 September 2016

Port Numbers and Protocols

  • In TCP/IP and UDP networks, a port is an endpoint to a logical connection and the way a client program specifies a specific server program on a computer in a network.
  • The IANA(Internet Assigned Numbers Authority) is responsible for the global coordination of the DNS root, IP addressing , and other Internet Protocol resources.
Types of Port Numbers:
  • The Port Numbers are divided into three ranges. Which are:

  • IANA maintains the official list of well known and registered ports.
  • Well-known Port numbers are reserved for service and applications.
  • Registered Port numbers are assigned to user processes or applications.
  • Dynamic or Private Ports are usually assigned dynamically to client applications when initiating a connection.
Important Well-known Ports list:

Port NumberKeywordDescription
1TCPMUXTCP Port Service Multiplexer
5RJERemote Job Entry
7ECHOEcho
18MSPMessage Send Protocol
20FTP-DataFile Transfer Protocol-Data
21FTP-ControlFile Transfer Protocol-Control
22SSHSSH Remote Login Protocol
23TelnetTelnet
25SMTPSimple Mail Transfer Protocol
37TimeTime
42Name ServerHost Name Server
43Nick NameWho Is
49LoginLogin Host Protocol
53DNSDomain Name Server
69TFTPTrivial File Transfer Protocol
79FingerFinger
80HTTPWorld Wide Wed HTTP
93DCPDevice Control Protool
108SNAGASSNA Gateway Access Server
109POP2Post Office Protocol Version 2
110POP3Post Office Protocol Version 3
115SFTPSimple File Transfer Protocol
118SQLSERVSQL Services
119NNTPNewsgroup
123NTPNetwork Time Protocol
129PSWGENPassword Generator Protocol
156SQLSRVSQL Server
179BGPBorder Gateway Protocol
190GACPGateway Access Control Protocol
194IRCInternet Relay Chat
197DLSDirectory Location Service
443HTTPSHTTP Protocol over TLS/SSL
444SNPPSimple Network Paging Protocol
546DHCP ClientDynamic Host Configuration Protocol Client
547Dhcp ServerDynamic Host Configuration Protocol Server
631IPPInternet Printing Protocol