Linux : Port Numbers for common services
Below are some of the default port numbers in Linux
- SSH (Secure Shell) - port 22
- FTP (File Transfer Protocol) - port 20 (data) and port 21 (control)
- HTTP (Hypertext Transfer Protocol) - port 80
- HTTPS (HTTP over SSL/TLS) - port 443
- DNS (Domain Name System) - port 53
- SMTP (Simple Mail Transfer Protocol) - port 25
- POP3 (Post Office Protocol version 3) - port 110
- IMAP (Internet Message Access Protocol) - port 143
- NFS (Network File System) - port 2049
- Samba (Windows file sharing) - port 137-139 and 445
Note that these are the default port numbers for these services, but they can be configured to use different ports if needed. Also, some services may use multiple ports depending on their configuration.
Comments
Post a Comment