Skip to main content

Port or Socket Numbers

Assigned Port or Socket Numbers​

Ports are used in the TCP [46] and sockets are used in the AHHP [1,3] to name the ends of logical connections which carry long term conversations. For the purpose of providing services to unknown callers a service contact socket is defined. This list specifies the port or socket used by the server process as its contact socket. In the AHHP an Initial Connection Procedure ICP [1,34] is used between the user process and the server process to make the initial contact and establish the long term connections leaving the contact socket free to handle other callers. In the TCP no ICP is necessary since a port may engage in many simultaneous connections.

The assigned ports/sockets use a small part of the possible port/socket numbers. The ports/assigned sockets have all except the low order eight bits cleared to zero. The low order eigth bits are specified here.

Socket Assignments​

General Assignments​

Decimal   Octal     Description
------- ----- -----------
0-63 0-77 Network Wide Standard Function
64-127 100-177 Hosts Specific Functions
128-223 200-337 Reserved for Future Use
224-255 340-377 Any Experimental Function

Specific Assignments​

Network Standard Functions​

Decimal   Octal     Description                      References
------- ----- ----------- ----------
1 1 Old Telnet [6]
3 3 Old File Transfer [7,8,9]
5 5 Remote Job Entry [1,10]
7 7 Echo [11]
9 11 Discard [12]
11 13 Who is on or SYSTAT
13 15 Date and Time
15 17 Who is up or NETSTAT
17 21 Short Text Message
19 23 Character generator or TTYTST [13]
21 25 New File Transfer [1,14,15]
23 27 New Telnet [1,16,17]
25 31 Distributed Programming System [18,19]
27 33 NSW User System w/COMPASS FE [20]
29 35 MSG-3 ICP [21]
31 37 MSG-3 Authentication [21]
33 41 DPS ICP [18,19]
35 43 IO Station Spooler
37 45 Time Server [1,22]
39 47 NSW User System w/SRI FE [20]
41 51 Graphics [1,26]
42 52 Name Server [52]
43 53 WhoIs
45 55 Internet Message Processing Module [53]
47 57 NI FTP [54]
49 61 RAND Network Graphics Conference [56]
51 63 Simple Internet Mail
53 65 AUTODIN II FTP [57]
55 67 ISI Graphics Language [58]
57 71 Mail Transfer [43]
59-63 73-77 unassigned

Host Specific Functions​

Decimal   Octal     Description                      References
------- ----- ----------- ----------
65 101 unassigned
67 103 Datacomputer at CCA [24]
69 105 CPYNET
69 105 Trivial File Transfer [42]
71 107 NETRJS (EBCDIC) at UCLA-CCN [1,25]
73 111 NETRJS (ASCII-68) at UCLA-CCN [1,25]
75 113 NETRJS (ASCII-63) at UCLA-CCN [1,25]
77 115 any private RJE server
79 117 Name or Finger [1,40]
81 121 Network BSYS
83 123 MIT ML Device
85 125 MIT ML Device
87 127 any terminal link
89 131 SU/MIT Telnet Gateway
91-94 133-136 unassigned
95 137 SUPDUP [33]
97 141 Datacomputer Status
99 143 CADC - NIFTP via UCL
101 145 NPL - NIFTP via UCL
103 147 BNPL - NIFTP via UCL
105 151 CAMBRIDGE - NIFTP via UCL
107 153 HARWELL - NIFTP via UCL
109 155 SWURCC - NIFTP via UCL
111 157 ESSEX - NIFTP via UCL
113 161 RUTHERFORD - NIFTP via UCL
115-127 163-177 unassigned

Reserved for Future Use​

Decimal   Octal     Description                      References
------- ----- ----------- ----------
128-223 200-337 reserved

Experimental Functions​

Decimal   Octal     Description                      References
------- ----- ----------- ----------
224-231 340-347 unassigned
232-237 350-355 Authorized Mailer at BBN
239 357 unassigned
241 361 NCP Measurement [27,28]
243 363 Survey Measurement [28,29,30]
245 365 LINK [31]
247 367 TIPSRV
249-255 371-377 RSEXEC [31,32]