Important Port Numbers in Unix
Important Port Numbers in Unix
port /
common UNIX
service name
additional remarks
protocol
daemon(s)
ftp (file
transfer
obsolete:insecure, because unencrypted and
20/tcp and
in.ftpd,wu.ftpd,proftpd;
protocol) data
difficult to harden service, please use sshd and
21/tcp
launched by inetd
and login
scp or sftp instead (see below)
control
secure, because fully encrypted remote login
ssh (Secure
(ssh) and copy (scp and sftp) service, please use
22/tcp
sshd
SHell)
exclusively this full substitute instead of the
obsolete ftp, telnet, rlogin, rsh, rcp and so on!
telnet (remote in.telnetd, launched by obsolete: unencrypted login, use sshd and ssh
23/tcp
login)
inetd
instead, see above
standard mail protocol since 30 years, only way
smtp (simple
to communicate world wide with messages
sendmail, postfix,
25/tcp
mail transfer
without http measures, for your privacy you need
qmail, etc.
protocol)
to encrypt mails preferably with the free PGP
(pretty good privacy)
the name service of the Internet, used by http,
smtp and all others to resolve symbolic names
53/udp
DNS (domain bind (Berkeley Internet
into the IP layer addresses, name resolution is
and 53/tcp name system) Name Domain)
done via udp, zone transfers between several
name servers via tcp
80/tcp
88/tcp
110/tcp
111/udp
119/tcp
123/udp
137/udp
139/tcp
143/tcp
161/tcp
194/tcp
http (Hyper
the Internet/web service, unencrypted port (see
Text Transfer httpd (= apache, A
below, 443, for encrypted counterpart) for
Protocol) = PAtCHy [web] sErver) standard data transfer from web servers to user
www (World
agents (browsers, robots, download tools)
Wide Web)
high security special purpose protocol with ticket
kerberos
krshd
system and so on
pop3 (Post
Office
popper, launched by post retrieval service of storing mail servers with
Protocol
inetd
encryption possibilities
version 3)
(sun)rpc
(remote
rpc.statd,
insecure remote calls of special information
procedure
rpc.rusersd,rpc.walld services
call)
nntp
(Network
News
leafnode
the internet news server query service
Transfer
Protocol)
ntp (Network
modern world wide time service for
Time
(x)ntpd
synchronisation with nuclear clock driven time
Protocol)
standard
netbios-ns
special name service for a still too widespread
(NETBIOS
proprietary OS and its SMB (Server Message
nmbd
Name
Block) system, needed in union with the
Service)
following service
netbios-ssn
(NETBIOS
special session service for that proprietary OS
Session
smbd (Samba daemon) and its SMB (Server Message Block) system,
Service
works together with immediately above service
Network)
imap2
(Internet
imapd (Interactive Mail
rather insecure and therefore only locally suitable
Message
Access Protocol
mail retrieval service, for non-local purposes
Access
Daemon), launched by
prefer pop3 (see above)
Protocol
inetd
version 2)
base of communication between very different
snmp (Simple
technical units (not only computers), they have to
Network
snmpd
share the network capability and these protocol
Management
rules only: CAUTION: very insecure (no limiting
Protocol)
of allowed requesting IP addresses possible)
irc (Internet
ircd
the Internet chat service
220/tcp
389/tcp
389/udp
443/tcp
514/udp
515/tcp
554/tcp
631/tcp
744/udp
901/tcp
993/tcp
Relay Chat)
imap3
(Interactive
Mail Access
Protocol
version 3)
ldap
(Lightweight
Directory
Access
Protocol)
ldap
(Lightweight
Directory
Access
Protocol)
https
(HyperText
Transfer
Protocol
Secure)
system log
listener
imapd
ldapd
slapd (Standalone
Lightweight Access
Protocol Daemon
httpd (= apache)
syslogd
Secure
version 4)
ircs (Internet
994/tcp Relay Chat ircd
Secure)
pop3s (Post
Office
popper, launched by
995/tcp Protocol
inetd
Secure
version 3)
NFS
nfsd, rpc.nfsd, needs
(Network File
2049/tcp
(sun)rpc and portmap
System by
too
Sun)
NFS
rpc.mountd needs
(Network File
2049/udp
(sun)rpc and portmap
System by
too
Sun)
cvspserver
(Concurrent
cvs, launched by inetd
Version
2401/tcp
(alternatively by sshd,
System
see above)
Password
server)
6000/tcp
(x11
-6063/tcp)
http-alt
8080/tcp (alternative
http)
httpd (= apache)