Appendix G. Lists of reserved ports, ICMP types and codes, and Internet protocols

Table of Contents
List of the most important reserved ports
List of ICMP types
ICMP codes
Internet protocols and their numbers
IP intervals

The following lists discuss the most important ports and the server services that belong to them, and the different types of ICMP messages. Client programs usually use ports between 1024 and 65535.

There are also lists over Internet protocols, reserved IP addresses and a mapping between netmasks and IP address intervals.

List of the most important reserved ports

This is a list of important ports. See /etc/services and http://www.iana.org/.

NamePort/protocolDescription
echo7/tcp 
echo7/udp 
discard9/tcpsink null
discard9/udpsink null
systat11/tcpusers
daytime13/tcp 
daytime13/udp 
netstat15/tcp 
qotd17/tcpquote
chargen19/tcpttytst source
chargen19/udpttytst source
ftp-data20/tcpftp data transfer
ftp21/tcpftp command
ssh22/tcpSecure Shell
telnet23/tcp 
smtp25/tcpmail
time37/tcptimeserver
time37/udptimeserver
rlp39/udpresource location
nicname43/tcpwho is
domain53/tcpdomain name server
domain53/udpdomain name server
sql*net66/tcpOracle SQL*net
sql*net66/udpOracle SQL*net
bootps67/tcpbootp server
bootps67/udpbootp server
bootpc68/tcpbootp client
bootpc68/udpbootp client
tftp69/tcpTrivial File Transfer
tftp69/udpTrivial File Transfer
gopher70/tcpgopher server
finger79/tcpFinger
www-http80/tcpWWW
www-http80/udpWWW
kerberos88/tcpKerberos
kerberos88/udpKerberos
pop2109/tcpPostOffice V.2
pop3110/tcpPostOffice V.3
sunrpc111/tcpRPC 4.0 portmapper
sunrpc111/udpRPC 4.0 portmapper
auth/ident113/tcpAuthentication Service
auth113/udpAuthentication Service
audionews114/tcpAudio News Multicast
audionews114/udpAudio News Multicast
nntp119/tcpUsenet Network News Transfer
nntp119/udpUsenet Network News Transfer
ntp123/tcpNetwork Time Protocol
ntp123/udpNetwork Time Protocol
netbios-ns137/tcpNETBIOS Name Service
netbios-ns137/udpNETBIOS Name Service
netbios-dgm138/tcpNETBIOS Datagram Service
netbios-dgm138/udpNETBIOS Datagram Service
netbios-ssn139/tcpNETBIOS Session Service
netbios-ssn139/udpNETBIOS Session Service
imap143/tcpInternet Message Access Protocol
imap143/udpInternet Message Access Protocol
sql-net150/tcpSQL-NET
sql-net150/udpSQL-NET
sqlsrv156/tcpSQL Service
sqlsrv156/udpSQL Service
snmp161/tcp 
snmp161/udp 
snmp-trap162/tcp 
snmp-trap162/udp 
cmip-man163/tcpCMIP/TCP Manager
cmip-man163/udpCMIP
cmip-agent164/tcpCMIP/TCP Agent
cmip-agent164/udpCMIP
irc194/tcpInternet Relay Chat
irc194/udpInternet Relay Chat
at-rtmp201/tcpAppleTalk Routing Maintenance
at-rtmp201/udpAppleTalk Routing Maintenance
at-nbp202/tcpAppleTalk Name Binding
at-nbp202/udpAppleTalk Name Binding
at-3203/tcpAppleTalk
at-3203/udpAppleTalk
at-echo204/tcpAppleTalk Echo
at-echo204/udpAppleTalk Echo
at-5205/tcpAppleTalk
at-5205/udpAppleTalk
at-zis206/tcpAppleTalk Zone Information
at-zis206/udpAppleTalk Zone Information
at-7207/tcpAppleTalk
at-7207/udpAppleTalk
at-8208/tcpAppleTalk
at-8208/udpAppleTalk
ipx213/tcp 
ipx213/udp 
imap3220/tcpInteractive Mail Access Protocol v3
imap3220/udpInteractive Mail Access Protocol v3
aurp387/tcpAppleTalk Update-Based Routing
aurp387/udpAppleTalk Update-Based Routing
netware-ip396/tcpNovell Netware over IP
netware-ip396/udpNovell Netware over IP
rmt411/tcpRemote mt
rmt411/udpRemote mt
microsoft-ds445/tcp 
microsoft-ds445/udp 
isakmp500/udpISAKMP/IKE
fcp510/tcpFirst Class Server
exec512/tcpBSD rexecd(8)
comsat/biff512/udpused by mail system to notify users
login513/tcpBSD rlogind(8)
who513/udpwhod BSD rwhod(8)
shell514/tcpcmd BSD rshd(8)
syslog514/udpBSD syslogd(8)
printer515/tcpspooler BSD lpd(8)
printer515/udpPrinter Spooler
talk517/tcpBSD talkd(8)
talk517/udptalk
ntalk518/udpNew Talk (ntalk)
ntalk518/udpSunOS talkd(8)
netnews532/tcpreadnews
uucp540/tcpuucpd BSD uucpd(8)
uucp540/udpuucpd BSD uucpd(8)
klogin543/tcpKerberos Login
klogin543/udpKerberos Login
kshell544/tcpKerberos Shell
kshell544/udpKerberos Shell
ekshell545/tcpkrcmd Kerberos encrypted remote shell -kfall
pcserver600/tcpECD Integrated PC board srvr
mount635/udpNFS Mount Service
pcnfs640/udpPC-NFS DOS Authentication
bwnfs650/udpBW-NFS DOS Authentication
flexlm744/tcpFlexible License Manager
flexlm744/udpFlexible License Manager
kerberos-adm749/tcpKerberos Administration
kerberos-adm749/udpKerberos Administration
kerberos750/tcpkdc Kerberos authentication--tcp
kerberos750/udpKerberos
kerberos_master751/udpKerberos authentication
kerberos_master751/tcpKerberos authentication
krb_prop754/tcpKerberos slave propagation
 999/udpApplixware
socks1080/tcp 
socks1080/udp 
kpop1109/tcpPop with Kerberos
ms-sql-s1433/tcpMicrosoft SQL Server
ms-sql-s1433/udpMicrosoft SQL Server
ms-sql-m1434/tcpMicrosoft SQL Monitor
ms-sql-m1434/udpMicrosoft SQL Monitor
pptp1723/tcppptp
pptp1723/udppptp
nfs2049/tcpNetwork File System
nfs2049/udpNetwork File System
eklogin2105/tcpKerberos encrypted rlogin
rkinit2108/tcpKerberos remote kinit
kx2111/tcpX over Kerberos
kauth2120/tcpRemote kauth
lyskom4894/tcpLysKOM (conference system)
sip5060/tcpSession Initiation Protocol
sip5060/udpSession Initiation Protocol
x116000-6063/tcpX Window System
x116000-6063/udpX Window System
irc6667/tcpInternet Relay Chat
afs7000-7009/tcp 
afs7000-7009/udp