ports and protocols Flashcards
Apple Filing Protocol (AFP)
TCP 548
Enables sharing between Macs. Also used by
macOS Time Machine for backing up macOS over the network. Uses TCP
port 548.
DHCP (Dynamic Host Configuration Protocol)
UDP 67, 68
Protocol that enables
client hosts to request and receive TCP/IP settings automatically from an
appropriately configured server. Uses UDP ports 67 and 68.
DNS (Domain Name Service)
UDP 53
TCP/IP name resolution system that
translates a host name into an IP address. Uses UDP port 53.
FTP (File Transfer Protocol)
TCP 20, 21
Rules that enable two computers to talk to
one another during a file transfer. Protocol used when you transfer a file from
one computer to another across the Internet. FTP uses port numbers 20 and
21. TCP
HTTP (Hypertext Transfer Protocol)
TCP 80
Extremely fast protocol used for network file transfers in the WWW environment. Uses port 80.
HTTPS (HTTP over Secure Sockets Layer)
TCP 443
Secure form of HTTP used
commonly for Internet business transactions or any time when a secure
connection is required. Uses port 443
IMAP4 (Internet Message Access Protocol version 4)
TCP 143
An alternative to
POP3 that retrieves e-mail from an e-mail server; IMAP uses TCP port 143.
Lightweight Directory Access Protocol (LDAP)
TCP/UDP 389
Protocol used by many
operating systems and applications to access directories. Port 389
NetBIOS (Network Basic Input/Output System)
TCP/UDP
TCP 137, 139
UDP 137, 138
Protocol that operates at
the Session layer of the OSI seven-layer model. This protocol creates and
manages connections based on the names of the computers involved. Uses
TCP ports 137 and 139, and UDP ports 137 and 138.
POP3 (Post Office Protocol 3)
TCP 110
One of the two protocols that receive e-mail
from SMTP servers. POP3 uses TCP port 110. While historically most e-mail
clients used this protocol, the IMAP4 e-mail protocol is now more common.
port (networking)
In networking, the number used to identify the requested
service (such as SMTP or FTP) when connecting to a TCP/IP host. Examples
include application protocol ports such as 80 (HTTP), 443, (HTTPS), 21
(FTP), 23 (Telnet), 25 (SMTP), 110 (POP3), 143 (IMAP), and 3389 (RDP).
Remote Desktop Protocol (RDP)
TCP/UDP 3389
Protocol used for Microsoft’s Remote
Desktop tool. Uses port 3389.
Service Location Protocol (SLP)
TCP/UDP 427
Protocol for advertising and discovering
available services over a network. Most common with print devices. Uses
TCP/UDP port 427.
The Server Message Block (SMB)/Common Internet File Service (CIFS)
TCP/UDP
UDP 137, 138
TCp 139, 445
Windows’ network file and
print sharing protocol. UNIX and Linux systems used a competing protocol,
Network File System (NFS), but that use has declined. Today, every major OS
uses SMB: Windows, macOS, and Linux (using SAMBA). SMB is the
protocol of choice for LAN file servers. Over the years, Microsoft has introduced several versions
(what Microsoft calls dialects) of SMB, and one of the more widespread dialects is Common Internet File System (CIFS). CIFS is currently deprecated
but still widely supported
CIFS uses UDP ports 137 and 138, and TCP ports 139 and 445
Secure POP3
TCP 995
TCP port 995