【譯】經常使用網絡端口號列表

目標:瞭解經常使用的端口號及服務,以及其使用的傳輸層協議。windows

前導知識:瞭解TCP/IP協議網絡

端口號對應於傳輸層的TCP或UDP協議,並服務於OSI模型中的上層應用。它的存在使得單個主機單個IP對外提供網絡服務成爲可能。每個端口號標識一個獨立的服務,同時,每臺主機每一個IP能夠擁有65535個端口號。端口號的管理由互聯網名稱與數字地址分配機構(ICANN)負責,該機構將端口號分爲三類:session

0~1023 : 知名端口號,一般分配給常見的協議與服務;tcp

1024 ~ 49151 : 由ICANN分配給特定的服務;ip

49152 ~ 65535 : 動態端口號,能夠被任務服務所使用。當一個會話session創建時端口號將被佔用,並與會話斷開時自動釋放端口號以供其餘session使用。get

Port Service name Transport protocol
 20, 21  File Transfer Protocol (FTP)  TCP
 22  Secure Shell (SSH)  TCP and UDP
 23  Telnet  TCP
 25  Simple Mail Transfer Protocol (SMTP)  TCP
 50, 51  IPSec  
 53  Domain Name System (DNS)  TCP and UDP
 67, 68  Dynamic Host Configuration Protocol (DHCP)  UDP
 69  Trivial File Transfer Protocol (TFTP)  UDP
 80  HyperText Transfer Protocol (HTTP)  TCP
 110  Post Office Protocol (POP3)  TCP
 119  Network News Transport Protocol (NNTP)  TCP
 123  Network Time Protocol (NTP)  UDP
 135-139  NetBIOS  TCP and UDP
 143  Internet Message Access Protocol (IMAP4)  TCP and UDP
 161, 162  Simple Network Management Protocol (SNMP)  TCP and UDP
 389  Lightweight Directory Access Protocol  TCP and UDP
 443  HTTP with Secure Sockets Layer (SSL)  TCP and UDP
 3389  Remote Desktop Protocol  TCP and UDP
相關文章
相關標籤/搜索