跳到主要内容

端口号

TCP [45,106] 使用端口来标识承载长期会话的逻辑连接的两端。为了向未知的调用方提供服务,需要定义一个服务联络端口。本清单指明服务器进程作为其联络端口所使用的端口。联络端口有时也称为“知名端口”(well-known port)。

在可能的情况下,UDP [46,104] 也使用同样的端口分配。

在可能的情况下,ISO-TP4 [64] 也使用同样的端口分配。

已分配的端口只占用可能端口号中很小的一部分。已分配端口除低八位以外的各位均清零,此处列出的是低八位的取值。

端口分配​

   Decimal   Keyword    Description                         References
   -------   -------    -----------                         ----------
     0                  Reserved                                 [JBP]
     1       TCPMUX     TCP Port Service Multiplexer             [MKL]
     2-4                Unassigned                               [JBP]
     5       RJE        Remote Job Entry                      [12,JBP]
     7       ECHO       Echo                                  [95,JBP]
     9       DISCARD    Discard                               [94,JBP]
    11       USERS      Active Users                          [89,JBP]
    13       DAYTIME    Daytime                               [93,JBP]
    15                  Unassigned                               [JBP]
    17       QUOTE      Quote of the Day                     [100,JBP]
    19       CHARGEN    Character Generator                   [92,JBP]
    20       FTP-DATA   File Transfer [Default Data]          [96,JBP]
    21       FTP        File Transfer [Control]               [96,JBP]
    23       TELNET     Telnet                               [112,JBP]
    25       SMTP       Simple Mail Transfer                 [102,JBP]
    27       NSW-FE     NSW User System FE                    [24,RHT]
    29       MSG-ICP    MSG ICP                               [85,RHT]
    31       MSG-AUTH   MSG Authentication                    [85,RHT]
    33       DSP        Display Support Protocol                 [EXC]
    35                  any private printer server               [JBP]
    37       TIME       Time                                 [108,JBP]
    39       RLP        Resource Location Protocol                [MA]
    41       GRAPHICS   Graphics                             [129,JBP]
    42       NAMESERVER Host Name Server                      [99,JBP]
    43       NICNAME    Who Is                               [55,MARY]



    44       MPM-FLAGS  MPM FLAGS Protocol                       [JBP]
    45       MPM        Message Processing Module [recv]      [98,JBP]
    46       MPM-SND    MPM [default send]                    [98,JBP]
    47       NI-FTP     NI FTP                               [134,SK8]
    49       LOGIN      Login Host Protocol                     [PHD1]
    51       LA-MAINT   IMP Logical Address Maintenance       [76,AGM]
    53       DOMAIN     Domain Name Server                 [81,95,PM1]
    55       ISI-GL     ISI Graphics Language                  [7,RB9]
    57                  any private terminal access              [JBP]
    59                  any private file service                 [JBP]
    61       NI-MAIL    NI MAIL                                [5,SK8]
    63       VIA-FTP    VIA Systems - FTP                        [DXD]
    65       TACACS-DS  TACACS-Database Service               [3,KH43]
    67       BOOTPS     Bootstrap Protocol Server            [36,WJC2]
    68       BOOTPC     Bootstrap Protocol Client            [36,WJC2]
    69       TFTP       Trivial File Transfer               [126,DDC1]
    71       NETRJS-1   Remote Job Service                   [10,RTB3]
    72       NETRJS-2   Remote Job Service                   [10,RTB3]
    73       NETRJS-3   Remote Job Service                   [10,RTB3]
    74       NETRJS-4   Remote Job Service                   [10,RTB3]
    75                  any private dial out service             [JBP]
    77                  any private RJE service                  [JBP]
    79       FINGER     Finger                                [52,KLH]
    81       HOSTS2-NS  HOSTS2 Name Server                      [EAK1]
    83       MIT-ML-DEV MIT ML Device                            [DPR]
    85       MIT-ML-DEV MIT ML Device                            [DPR]
    87                  any private terminal link                [JBP]
    89       SU-MIT-TG  SU/MIT Telnet Gateway                    [MRC]
    91       MIT-DOV    MIT Dover Spooler                        [EBM]
    93       DCP        Device Control Protocol                 [DT15]
    95       SUPDUP     SUPDUP                                [27,MRC]
    97       SWIFT-RVF  Swift Remote Vitural File Protocol       [MXR]
    98       TACNEWS    TAC News                                [ANM2]
    99       METAGRAM   Metagram Relay                          [GEOF]
   101       HOSTNAME   NIC Host Name Server                 [54,MARY]
   102       ISO-TSAP   ISO-TSAP                              [16,MTR]
   103       X400       X400                                    [HCF2]
   104       X400-SND   X400-SND                                [HCF2]
   105       CSNET-NS   Mailbox Name Nameserver             [127,MS56]
   107       RTELNET    Remote Telnet Service                [101,JBP]
   109       POP2       Post Office Protocol - Version 2     [14,JKR1]
   110       POP3       Post Office Protocol - Version 3     [122,MTR]
   111       SUNRPC     SUN Remote Procedure Call                [DXG]
   113       AUTH       Authentication Service              [130,MCSJ]
   115       SFTP       Simple File Transfer Protocol        [73,MKL1]
   117       UUCP-PATH  UUCP Path Service                     [44,MAE]
   119       NNTP       Network News Transfer Protocol        [65,PL4]
   121       ERPC       Encore Expedited Remote Proc. Call   [132,JXO]



   123       NTP        Network Time Protocol                [80,DLM1]
   125       LOCUS-MAP  Locus PC-Interface Net Map Server   [137,EP53]
   127       LOCUS-CON  Locus PC-Interface Conn Server      [137,EP53]
   129       PWDGEN     Password Generator Protocol          [141,FJW]
   130       CISCO-FNA  CISCO FNATIVE                            [WXB]
   131       CISCO-TNA  CISCO TNATIVE                            [WXB]
   132       CISCO-SYS  CISCO SYSMAINT                           [WXB]
   133       STATSRV    Statistics Service                      [DLM1]
   134       INGRES-NET INGRES-NET Service                       [MXB]
   135       LOC-SRV    Location Service                         [JXP]
   136       PROFILE    PROFILE Naming System                    [LLP]
   137       NETBIOS-NS NETBIOS Name Service                     [JBP]
   138       NETBIOS-DGM NETBIOS Datagram Service                [JBP]
   139       NETBIOS-SSN NETBIOS Session Service                 [JBP]
   140       EMFIS-DATA EMFIS Data Service                       [GB7]
   141       EMFIS-CNTL EMFIS Control Service                    [GB7]
   142       BL-IDM     Britton-Lee IDM                         [SXS1]
   143       IMAP2      Interim Mail Access Protocol v2          [MRC]
   144       NEWS       NewS                                     [JAG]
   145       UAAC       UAAC Protocol                           [DAG4]
   146       ISO-TP0    ISO-IP0                               [86,MTR]
   147       ISO-IP     ISO-IP                                   [MTR]
   148       CRONUS     CRONUS-SUPPORT                       [135,JXB]
   149       AED-512    AED 512 Emulation Service                [AXB]
   150       SQL-NET    SQL-NET                                  [MXP]
   151       HEMS       HEMS                                  [87,CXT]
   152       BFTP       Background File Transfer Program        [AD14]
   153       SGMP       SGMP                                  [37,MS9]
   154       NETSC-PROD NETSC                                   [SH37]
   155       NETSC-DEV  NETSC                                   [SH37]
   156       SQLSRV     SQL Service                              [CMR]
   157       KNET-CMP   KNET/VM Command/Message Protocol    [77,GSM11]
   158       PCMail-SRV PCMail Server                         [19,MXL]
   159       NSS-Routing NSS-Routing                             [JXR]
   160       SGMP-TRAPS SGMP-TRAPS                            [37,MS9]
   161       SNMP       SNMP                                  [15,MTR]
   162       SNMPTRAP   SNMPTRAP                              [15,MTR]
   163       CMIP-Manage CMIP/TCP Manager                     [4,AXB1]
   164       CMIP-Agent  CMIP/TCP Agent                       [4,AXB1]
   165       XNS-Courier Xerox                               [144,SXA]
   166       S-Net      Sirius Systems                           [BXL]
   167       NAMP       NAMP                                     [MS9]
   168       RSVD       RSVD                                    [NT12]
   169       SEND       SEND                                   [WDW11]
   170       Print-SRV  Network PostScript                       [BKR]
   171       Multiplex  Network Innovations Multiplex            [KXD]
   172       CL/1       Network Innovations CL/1                 [KXD]
   173       Xyplex-MUX Xyplex                                   [BXS]



   174       MAILQ      MAILQ                                    [RXZ]
   175       VMNET      VMNET                                    [CXT]
   176       GENRAD-MUX GENRAD-MUX                               [RXT]
   177       XDMCP      X Display Manager Control Protocol      [RWS4]
   178       NextStep   NextStep Window Server                   [LXH]
   179       BGP        Border Gateway Protocol                  [KSL]
   180       RIS        Intergraph                               [DXB]
   181       Unify      Unify                                    [VXS]
   182       Unisys-Cam Unisys-Cam                               [GXG]
   183       OCBinder   OCBinder                                [JXO1]
   184       OCServer   OCServer                                [JXO1]
   185       Remote-KIS Remote-KIS                              [RXD1]
   186       KIS        KIS Protocol                            [RXD1]
   187       ACI        Application Communication Interface     [RXC1]
   188       MUMPS      MUMPS                                   [HS23]
   189       QFT        Queued File Transport                    [WXS]
   190       GACP       Gateway Access Control Protocol          [PCW]
   191       Prospero   Prospero                                 [BCN]
   192       OSU-NMS    OSU Network Monitoring System            [DXK]
   193       SRMP       Spider Remote Monitoring Protocol        [TXS]
   194       IRC        Internet Relay Chat Protocol            [JXO2]
   195       DN6-NLM-AUD DNSIX Network Level Module Audit       [LL69]
   196       DN6-SMM-RED DNSIX Session Mgt Module Audit Redirect[LL69]
   197       DLS        Directory Location Service               [SXB]
   198       DLS-Mon    Directory Location Service Monitor       [SXB]
   198-200              Unassigned                               [JBP]
   201       AT-RMTP    AppleTalk Routing Maintenance            [RXC]
   202       AT-NBP     AppleTalk Name Binding                   [RXC]
   203       AT-3       AppleTalk Unused                         [RXC]
   204       AT-ECHO    AppleTalk Echo                           [RXC]
   205       AT-5       AppleTalk Unused                         [RXC]
   206       AT-ZIS     AppleTalk Zone Information               [RXC]
   207       AT-7       AppleTalk Unused                         [RXC]
   208       AT-8       AppleTalk Unused                         [RXC]
   209-223              Unassigned                               [JBP]
   224-241              Reserved                                 [JBP]
   243       SUR-MEAS   Survey Measurement                    [6,DDC1]
   245       LINK       LINK                                  [1,RDB2]
   246       DSP3270    Display Systems Protocol             [39,WJS1]
   247-255              Reserved                                 [JBP]