Common Networks Ports you Should Know
What is a network port?
The physical port on your laptop lets you communicate with peripheral devices such as a keyboard and mouse to connect with internet devices via Ethernet cables.
A port is a location on the recipient computer where data is received. In simple terms, if a software application needs to communicate with each other, it will expose a port. Ports are identified with positive 16-bit unsigned integers, ranging from 0 to 65535. Other services use this port number to communicate with the service or app. Port numbers are divided into three ranges: well-known ports, registered ports, and dynamic or private ports. Well knows ports also known as system ports are numbered 0 to 1023. For example, the SSH port which uses port 22.
ssh teslimodumuyiwa@gmail.com -v
debug1: Connecting to gmail.com [216.58.223.197] port 22.
From the text above SSH is trying to connect to gmail.com using port 22. You can use -p to specify the port you will like to use but by default, SSH will use port 22.
The Internet Assigned Numbers Authority (IANA) has assigned port numbers to commonly used services like SSH, FTP, HTTP, HTTPS, and others. Here are some of the most common ones:
Port Number | Usage |
20 | File Transfer Protocol (FTP) Data Transfer |
21 | File Transfer Protocol (FTP) Command Control |
22 | Secure Shell(SSH) |
23 | Telnet - Remote login service, unencrypted text messages |
25 | Simple Mail Transfer Protocol (SMTP) E-mail Routing |
53 | Domain Name System (DNS) service |
67 | Dynamic Host Configuration Protocol Server (DHCP Server) |
68 | Dynamic Host Configuration Protocol Client (DHCP Client) |
80 | Hypertext Transfer Protocol (HTTP) used in the World Wide Web |
110 | Post Office Protocol (POP3) used by e-mail clients to retrieve e-mail from a server |
119 | Network News Transfer Protocol (NNTP) |
123 | Network Time Protocol (NTP) |
143 | Internet Message Access Protocol (IMAP) Management of Digital Mail |
161 | Simple Network Management Protocol (SNMP) |
194 | Internet Relay Chat(IRC) |
443 | HTTP Secure (HTTPS) HTTP over TLS/SSL |
5432 | Database Systems |
Subscribe to my newsletter
Read articles from Teslim Odumuyiwa directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by