Common Network Port Numbers Flashcards: Protocols, TCP/UDP & Uses

Study 88 cards on common network ports, TCP/UDP transports, service uses, port ranges, and practical protocol distinctions.

Về bộ thẻ này

Build a practical map of common network service ports with 88 independently authored cards. Twelve foundation and distinction cards cover port roles, IANA ranges, independent TCP and UDP namespaces, assignment limits, conventional versus configured ports, client source ports, DNS transport behavior, DHCP endpoints, FTP channels, and common implicit-TLS pairs.

The remaining 76 cards practice 38 mappings in both useful directions: service → conventional or registered port, transport, and concise use; and port/transport → service and concise use. Coverage includes FTP control and active-mode data, SSH/SFTP, Telnet, SMTP relay, DNS, DHCPv4 server and client endpoints, TFTP, HTTP, Kerberos, POP3, NTP, the three NetBIOS services, IMAP, SNMP queries and notifications, BGP, LDAP, HTTPS including HTTP/3, direct-hosted SMB, IKE, syslog, SMTP submission, LDAPS, IMAPS, POP3S, Microsoft SQL Server, L2TP, PPTP, RADIUS authentication, MySQL, RDP, IPsec NAT Traversal, SIP, and PostgreSQL.

This is a focused recall deck, not a copy of the full IANA registry. It excludes exhaustive assignments, port-scanning or attack instructions, firewall policy, every vendor-specific alternate, dynamic service-discovery inventories, and the claim that a port number proves which application produced observed traffic. Registered, default, conventional, and common-use wording stays explicit because services can be reconfigured or negotiated elsewhere.

The sequence establishes the port model first, then mixes web, email, infrastructure, remote-access, file-transfer, network-management, directory, VPN, voice, Windows, and database families. Opposite directions for the same mapping stay at least 38 intervening cards apart. Near-duplicate DNS, DHCP, FTP, SNMP, NetBIOS, and IPsec cues keep at least three unrelated cards between them, and the TLS-pair distinction stays at least three unrelated cards from its closest overlapping mapping. The review scheduler handles continued spacing after installation.

Open Study Contributor independently authored the prompts, answers, mapping choices, organization, metadata, and cover from common networking knowledge checked against the current IANA Service Name and Transport Protocol Port Number Registry, relevant RFCs, and official vendor documentation. Organization and product names identify protocols, services, or sources only; no affiliation or endorsement is claimed. No competitor card text, certification questions, answer keys, course text, or source prose was copied.

The CC0 label applies to the original prompts, answers, organization, metadata, and generated cover to the extent applicable rights exist. It does not claim ownership of protocol facts, standards, organization names, product names, or third-party source material.

Thẻ trong bộ này

  1. Thẻ 1

    Câu hỏi

    What does a transport-layer port number identify?

    Câu trả lời

    An application endpoint within a host for one transport protocol. The IP addresses, transport protocol, and source and destination ports together identify a communication flow.

  2. Thẻ 2

    Câu hỏi

    Are TCP port 53 and UDP port 53 the same port?

    Câu trả lời

    No. TCP and UDP have independent 16-bit port namespaces, so 53/TCP and 53/UDP are separate transport endpoints.

  3. Thẻ 3

    Câu hỏi

    What is the IANA System Port range?

    Câu trả lời

    0–1023. These are also called Well-Known Ports and are assigned by IANA under the stricter System Port procedures.

  4. Thẻ 4

    Câu hỏi

    What is the IANA User Port range?

    Câu trả lời

    1024–49151. These are also called Registered Ports and may be assigned by IANA to services.

  5. Thẻ 5

    Câu hỏi

    What is the IANA Dynamic or Private Port range?

    Câu trả lời

    49152–65535. IANA does not assign ports in this range; systems commonly use it for temporary or private endpoints.

  6. Thẻ 6

    Câu hỏi

    Does an IANA port assignment prove what observed traffic is—or that it is safe?

    Câu trả lời

    No. A registration is a naming convention, not traffic identification, authorization, or a security verdict. Verify the actual protocol and context.

  7. Thẻ 7

    Câu hỏi

    Must a service use its registered or conventional port?

    Câu trả lời

    No. Administrators and applications can choose another port, negotiate one dynamically, or discover it through mechanisms such as DNS SRV records.

  8. Thẻ 8

    Câu hỏi

    What port roles are typical in a client-server connection?

    Câu trả lời

    The server usually listens on a known destination port, while the client uses a temporary source port. Either side can be configured differently.

  9. Thẻ 9

    Câu hỏi

    SSH and SFTP — common server port and transport?

    Câu trả lời

    TCP 22. SSH provides encrypted remote access, and SFTP normally runs as a subsystem inside the same SSH connection.

  10. Thẻ 10

    Câu hỏi

    53/UDP or 53/TCP — which service?

    Câu trả lời

    DNS. Routine queries often use UDP, while full DNS implementations also support TCP; zone transfers use TCP.

  11. Thẻ 11

    Câu hỏi

    SMTP relay between mail servers — common port and transport?

    Câu trả lời

    TCP 25. SMTP uses it for server-to-server mail transfer; user mail submission normally uses port 587 or implicit TLS on 465.

  12. Thẻ 12

    Câu hỏi

    HTTP without TLS — conventional port and transport?

    Câu trả lời

    TCP 80 for conventional HTTP/1.1 and HTTP/2 connections. The service can be configured on another port.

  13. Thẻ 13

    Câu hỏi

    67/UDP — which DHCPv4 endpoint?

    Câu trả lời

    The DHCPv4 server endpoint. Clients send server-directed DHCP messages to UDP port 67.

  14. Thẻ 14

    Câu hỏi

    21/TCP — which service and channel?

    Câu trả lời

    FTP control. It carries commands and replies; file data uses a separate connection.

  15. Thẻ 15

    Câu hỏi

    SNMP requests and responses — common agent port and transport?

    Câu trả lời

    UDP 161. Managers commonly send queries to an SNMP agent there; other SNMP transports exist.

  16. Thẻ 16

    Câu hỏi

    1433/TCP — which database service?

    Câu trả lời

    Microsoft SQL Server's default instance. TCP 1433 is the default Database Engine port, but named or custom instances may use another port.

  17. Thẻ 17

    Câu hỏi

    23/TCP — which remote-access protocol?

    Câu trả lời

    Telnet. It provides a plaintext remote terminal session and does not protect credentials or traffic with encryption.

  18. Thẻ 18

    Câu hỏi

    NTP — usual port and transport?

    Câu trả lời

    UDP 123. NTP normally uses UDP for time synchronization; IANA also has a TCP 123 registration, but that is not the usual NTP transport.

  19. Thẻ 19

    Câu hỏi

    Why must a general-purpose DNS implementation support both UDP and TCP?

    Câu trả lời

    UDP handles most routine queries efficiently, while TCP handles cases such as zone transfers and responses that do not fit the chosen UDP path. Both use port 53.

  20. Thẻ 20

    Câu hỏi

    POP3 — conventional port and transport?

    Câu trả lời

    TCP 110. POP3 retrieves mail; it can upgrade with STLS, while implicit TLS uses TCP 995.

  21. Thẻ 21

    Câu hỏi

    443/TCP or 443/UDP — which web service?

    Câu trả lời

    HTTPS. HTTP/1.1 and HTTP/2 normally use TLS over TCP 443; HTTP/3 uses QUIC over UDP 443.

  22. Thẻ 22

    Câu hỏi

    DHCPv4 client endpoint — port and transport?

    Câu trả lời

    UDP 68. Servers send client-directed DHCPv4 messages to port 68.

  23. Thẻ 23

    Câu hỏi

    69/UDP — which file-transfer protocol?

    Câu trả lời

    TFTP. A client sends the initial read or write request to UDP 69; the transfer then continues with a server-selected UDP transfer identifier.

  24. Thẻ 24

    Câu hỏi

    162/UDP — which network-management traffic?

    Câu trả lời

    SNMP notifications, traditionally called traps. Notification receivers commonly listen on UDP 162.

  25. Thẻ 25

    Câu hỏi

    MySQL classic protocol — default port and transport?

    Câu trả lời

    TCP 3306. It is the default for classic MySQL client-server connections and can be reconfigured.

  26. Thẻ 26

    Câu hỏi

    How do FTP control, active-mode data, and passive-mode data ports differ?

    Câu trả lời

    Control uses TCP 21. The server side of the default active-mode data connection uses TCP 20, while passive mode negotiates another server port.

  27. Thẻ 27

    Câu hỏi

    3389/TCP or 3389/UDP — which remote-desktop service?

    Câu trả lời

    Microsoft Remote Desktop Protocol (RDP). TCP and UDP 3389 are the standard defaults, and the listening port can be changed.

  28. Thẻ 28

    Câu hỏi

    Syslog's conventional UDP transport — port?

    Câu trả lời

    UDP 514. Classic syslog over UDP has no delivery guarantee; TCP 514 is registered to the shell service, not syslog.

  29. Thẻ 29

    Câu hỏi

    How do DHCPv4 server and client ports pair up?

    Câu trả lời

    UDP 67 is the server port, and UDP 68 is the client port. Client-to-server messages target 67; server-to-client messages target 68.

  30. Thẻ 30

    Câu hỏi

    IMAP — conventional port and transport?

    Câu trả lời

    TCP 143. IMAP accesses and manages mail on a server; implicit TLS uses TCP 993.

  31. Thẻ 31

    Câu hỏi

    445/TCP — which file-sharing service?

    Câu trả lời

    Direct-hosted SMB. Modern SMB servers commonly listen on TCP 445 without the older NetBIOS session layer.

  32. Thẻ 32

    Câu hỏi

    88/UDP or 88/TCP — which authentication protocol?

    Câu trả lời

    Kerberos. Clients and Key Distribution Centers support both transports; TCP also handles requests or replies too large for UDP.

  33. Thẻ 33

    Câu hỏi

    FTP's default active-mode data connection — server-side port and transport?

    Câu trả lời

    TCP 20. This is the server's default source port for active-mode data; passive FTP negotiates another server port.

  34. Thẻ 34

    Câu hỏi

    BGP — standard operational port and transport?

    Câu trả lời

    TCP 179. RFC 4271 defines BGP peer sessions over TCP; IANA separately retains a UDP 179 registry entry.

  35. Thẻ 35

    Câu hỏi

    5432/TCP — which database service?

    Câu trả lời

    PostgreSQL. TCP 5432 is the customary default server port, but an installation can choose another port.

  36. Thẻ 36

    Câu hỏi

    IKE for IPsec — initial port and transport?

    Câu trả lời

    UDP 500. IKE normally begins there; NAT traversal commonly moves subsequent IKE and encapsulated ESP traffic to UDP 4500.

  37. Thẻ 37

    Câu hỏi

    NetBIOS Name Service — common port and transport?

    Câu trả lời

    UDP 137. It supports NetBIOS name registration and lookup; direct-hosted modern SMB does not require it.

  38. Thẻ 38

    Câu hỏi

    587/TCP — which email role?

    Câu trả lời

    SMTP message submission. Mail clients normally submit outgoing mail to a submission server there, often with STARTTLS; server relay remains on TCP 25.

  39. Thẻ 39

    Câu hỏi

    389/TCP — which directory protocol?

    Câu trả lời

    LDAP. Ordinary connection-oriented LDAP commonly uses TCP 389; IANA also registers UDP 389 for connectionless LDAP.

  40. Thẻ 40

    Câu hỏi

    L2TP — common port and transport?

    Câu trả lời

    UDP 1701. L2TP carries tunnel control and data but does not provide encryption by itself; deployments often pair it with IPsec.

  41. Thẻ 41

    Câu hỏi

    138/UDP — which NetBIOS service?

    Câu trả lời

    NetBIOS Datagram Service. It carries connectionless NetBIOS datagrams, historically used in NetBIOS over TCP/IP environments.

  42. Thẻ 42

    Câu hỏi

    IMAPS — default port and transport?

    Câu trả lời

    TCP 993. It starts IMAP with an immediate TLS handshake for encrypted mail access.

  43. Thẻ 43

    Câu hỏi

    636/TCP — which directory-service convention?

    Câu trả lời

    LDAPS, the commonly used implicit-TLS port for LDAP. LDAP can also negotiate TLS on TCP 389.

  44. Thẻ 44

    Câu hỏi

    1723/TCP — which VPN control protocol?

    Câu trả lời

    PPTP control. PPTP uses TCP 1723 for control, while tunneled PPP data travels in GRE—not on TCP or UDP port 47.

  45. Thẻ 45

    Câu hỏi

    NetBIOS Session Service — common port and transport?

    Câu trả lời

    TCP 139. It provides connection-oriented NetBIOS sessions and historically carried SMB before direct-hosted SMB on TCP 445.

  46. Thẻ 46

    Câu hỏi

    995/TCP — which mail-access service?

    Câu trả lời

    POP3S. It starts POP3 with an immediate TLS handshake for encrypted mail retrieval.

  47. Thẻ 47

    Câu hỏi

    RADIUS authentication and authorization — standard port and transport?

    Câu trả lời

    UDP 1812. RADIUS accounting normally uses the separate UDP port 1813.

  48. Thẻ 48

    Câu hỏi

    IPsec NAT Traversal — port and transport?

    Câu trả lời

    UDP 4500. It carries IKE and UDP-encapsulated ESP when NAT traversal is in use.

  49. Thẻ 49

    Câu hỏi

    5060/UDP or 5060/TCP — which signaling protocol?

    Câu trả lời

    SIP. It commonly uses UDP or TCP 5060 for session signaling; SIP over TLS conventionally uses TCP 5061.

  50. Thẻ 50

    Câu hỏi

    Which common dedicated ports distinguish plaintext or STARTTLS-capable services from implicit-TLS variants?

    Câu trả lời

    HTTP 80 ↔ HTTPS 443; IMAP 143 ↔ IMAPS 993; POP3 110 ↔ POP3S 995; LDAP 389 ↔ LDAPS 636. A port alone does not prove that TLS is configured correctly.

  51. Thẻ 51

    Câu hỏi

    22/TCP — which secure remote-access service?

    Câu trả lời

    SSH. It supports encrypted remote login, command execution, tunneling, and file-transfer tools such as SFTP.

  52. Thẻ 52

    Câu hỏi

    DNS — registered port and required general-purpose transports?

    Câu trả lời

    Port 53 over UDP and TCP. Most ordinary queries start with UDP, while TCP is required for full implementations and used for zone transfers and other larger exchanges.

  53. Thẻ 53

    Câu hỏi

    25/TCP — which email function?

    Câu trả lời

    SMTP mail relay and delivery between servers. End-user clients normally submit new mail on TCP 587 or TCP 465 instead.

  54. Thẻ 54

    Câu hỏi

    80/TCP — which conventional web service?

    Câu trả lời

    HTTP without TLS. It is the conventional port for HTTP/1.1 and HTTP/2, although servers can listen elsewhere.

  55. Thẻ 55

    Câu hỏi

    DHCPv4 server endpoint — port and transport?

    Câu trả lời

    UDP 67. DHCPv4 clients direct server-bound messages to that port.

  56. Thẻ 56

    Câu hỏi

    FTP control — server port and transport?

    Câu trả lời

    TCP 21. Commands and replies use the persistent control connection; data travels on a separate connection.

  57. Thẻ 57

    Câu hỏi

    161/UDP — which network-management traffic?

    Câu trả lời

    SNMP requests and responses. Managed agents commonly listen on UDP 161 for manager queries.

  58. Thẻ 58

    Câu hỏi

    Microsoft SQL Server default instance — default port and transport?

    Câu trả lời

    TCP 1433. Named instances may use dynamic or custom ports, with SQL Server Browser commonly using UDP 1434 for discovery.

  59. Thẻ 59

    Câu hỏi

    Telnet — conventional port and transport?

    Câu trả lời

    TCP 23. Telnet carries terminal traffic in plaintext, so SSH is the usual secure replacement.

  60. Thẻ 60

    Câu hỏi

    123/UDP — which time service?

    Câu trả lời

    NTP. Network Time Protocol commonly synchronizes clocks over UDP 123.

  61. Thẻ 61

    Câu hỏi

    110/TCP — which mail-access protocol?

    Câu trả lời

    POP3. It downloads or retrieves mail from a server; implicit TLS uses TCP 995.

  62. Thẻ 62

    Câu hỏi

    HTTPS — common port and transports?

    Câu trả lời

    Port 443: TCP for HTTP/1.1 and HTTP/2 over TLS, and UDP for HTTP/3 over QUIC.

  63. Thẻ 63

    Câu hỏi

    68/UDP — which DHCPv4 endpoint?

    Câu trả lời

    The DHCPv4 client endpoint. Servers direct client-bound DHCP messages to UDP 68.

  64. Thẻ 64

    Câu hỏi

    TFTP — initial request port and transport?

    Câu trả lời

    UDP 69. Only the initial request targets 69; the server chooses another UDP transfer identifier for the data exchange.

  65. Thẻ 65

    Câu hỏi

    SNMP traps and other notifications — common receiver port and transport?

    Câu trả lời

    UDP 162. SNMP notification receivers commonly listen there.

  66. Thẻ 66

    Câu hỏi

    3306/TCP — which database protocol?

    Câu trả lời

    The classic MySQL protocol. TCP 3306 is its default client-server port and is configurable.

  67. Thẻ 67

    Câu hỏi

    RDP — standard port and transports?

    Câu trả lời

    TCP and UDP 3389. Microsoft Remote Desktop uses them by default, though administrators can change the listening port.

  68. Thẻ 68

    Câu hỏi

    514/UDP — which logging protocol?

    Câu trả lời

    Syslog over UDP. It is a conventional lightweight transport without delivery guarantees; secure syslog commonly uses another transport and port.

  69. Thẻ 69

    Câu hỏi

    143/TCP — which mail-access protocol?

    Câu trả lời

    IMAP. It manages mail on the server; implicit TLS uses TCP 993.

  70. Thẻ 70

    Câu hỏi

    Direct-hosted SMB — common server port and transport?

    Câu trả lời

    TCP 445. It carries SMB directly over TCP without the legacy NetBIOS Session Service on TCP 139.

  71. Thẻ 71

    Câu hỏi

    Kerberos KDC traffic — port and transports?

    Câu trả lời

    UDP and TCP 88. Conforming clients and Key Distribution Centers support both, with TCP available for larger exchanges.

  72. Thẻ 72

    Câu hỏi

    20/TCP — which FTP role?

    Câu trả lời

    The server side of FTP's default active-mode data connection. Passive mode negotiates a different server port.

  73. Thẻ 73

    Câu hỏi

    179/TCP — which routing protocol?

    Câu trả lời

    BGP. Border Gateway Protocol peers use a TCP session to exchange routing information.

  74. Thẻ 74

    Câu hỏi

    PostgreSQL — customary default port and transport?

    Câu trả lời

    TCP 5432. PostgreSQL servers normally use it unless configured or compiled with another default.

  75. Thẻ 75

    Câu hỏi

    500/UDP — which IPsec setup protocol?

    Câu trả lời

    IKE, the Internet Key Exchange protocol. It negotiates IPsec security associations and commonly moves to UDP 4500 when NAT traversal is used.

  76. Thẻ 76

    Câu hỏi

    137/UDP — which NetBIOS service?

    Câu trả lời

    NetBIOS Name Service. It handles name registration and lookup in legacy NetBIOS over TCP/IP environments.

  77. Thẻ 77

    Câu hỏi

    SMTP message submission — normal port and transport?

    Câu trả lời

    TCP 587. It separates authenticated client submission from server-to-server SMTP relay on TCP 25; STARTTLS is commonly used.

  78. Thẻ 78

    Câu hỏi

    LDAP — conventional connection-oriented port and transport?

    Câu trả lời

    TCP 389. Connectionless LDAP can use UDP 389, and implicit-TLS LDAP commonly uses TCP 636.

  79. Thẻ 79

    Câu hỏi

    1701/UDP — which tunneling protocol?

    Câu trả lời

    L2TP. It tunnels Layer 2 traffic but needs a separate security layer such as IPsec when confidentiality is required.

  80. Thẻ 80

    Câu hỏi

    NetBIOS Datagram Service — common port and transport?

    Câu trả lời

    UDP 138. It provides connectionless NetBIOS datagram delivery.

  81. Thẻ 81

    Câu hỏi

    993/TCP — which mail-access service?

    Câu trả lời

    IMAPS. It begins IMAP with implicit TLS for encrypted access to mail stored on a server.

  82. Thẻ 82

    Câu hỏi

    LDAPS — commonly used implicit-TLS port and transport?

    Câu trả lời

    TCP 636. LDAP can instead use TCP 389 and negotiate TLS with StartTLS.

  83. Thẻ 83

    Câu hỏi

    PPTP control — port and transport?

    Câu trả lời

    TCP 1723. The control channel uses that port; PPP payloads travel through GRE, which is IP protocol 47 rather than port 47.

  84. Thẻ 84

    Câu hỏi

    139/TCP — which NetBIOS service?

    Câu trả lời

    NetBIOS Session Service. It historically carried SMB sessions; direct-hosted SMB commonly uses TCP 445 instead.

  85. Thẻ 85

    Câu hỏi

    POP3S — default port and transport?

    Câu trả lời

    TCP 995. It uses implicit TLS for encrypted POP3 mail retrieval.

  86. Thẻ 86

    Câu hỏi

    1812/UDP — which AAA service?

    Câu trả lời

    RADIUS authentication and authorization. RADIUS accounting normally uses UDP 1813.

  87. Thẻ 87

    Câu hỏi

    4500/UDP — which IPsec function?

    Câu trả lời

    IPsec NAT Traversal. It carries IKE and UDP-encapsulated ESP across network address translation.

  88. Thẻ 88

    Câu hỏi

    SIP signaling without implicit TLS — common port and transports?

    Câu trả lời

    UDP or TCP 5060. SIP over TLS conventionally uses TCP 5061, and media streams use separately negotiated ports.

A central network gateway with glowing ports connected to web, mail, server, database, user, and security nodes.

88 thẻ

Common Network Port Numbers Flashcards: Protocols, TCP/UDP & Uses

Học bộ thẻ này miễn phí

Nibomo sẽ mở ra để bạn bắt đầu học.