Ports and Port Numbers
A port is where an application process is available for other external programs to connect over the network on a particular protocol (say TCP, UDP, …).
There are 65536 ports available in a computer (0-65535)
Port Types
- 0 to 1023 Reserved Ports
- 1024 to 45191 Registered Ports
- 45192 to 65535 Dynamic, private or ephemeral Ports
Common Ports
Port Number | Service/Application |
---|---|
20 | FTP - Data |
21 | FTP - Control |
22 | SSH |
25 | SMTP |
43 | Whois |
53 | DNS |
80 | HTTP |
88 | Kerberos |
104 | DICOM |
109 | POP2 |
110 | POP3 |
115 | SFTP |
443 | HTTPS |
530 | RPC |
636 | LDAPS |
1194 | OpenVPN |
3306 | MySQL Database |
8080 | Apache Tomcat |
9735 | Bitcoin Lighting Network |
27017 | MongoDB |
51820 | WireGuard |