Explain it simpler
A port is a numbered doorway on a computer that tells incoming traffic which service it wants. Knowing common ones helps you read logs and firewall rules. Port 22 is SSH, for secure remote login. Port 25 is SMTP, for sending email between mail servers. Port 53 is DNS, which turns website names into numeric addresses. Port 80 is plain web traffic (HTTP), and 443 is encrypted web traffic (HTTPS). Port 389 is LDAP, for looking up user accounts, and 636 is its encrypted version, LDAPS. Port 3389 is RDP, for remote desktop control of Windows machines, which attackers love to target. Think of an apartment building: the street address gets mail to the building, and the apartment number, like a port, gets it to the right resident.
It is 2 a.m. and Maya, on the night shift at Lakeside Freight, is staring at an alert from the firewall: thousands of connection attempts per hour to TCP 3389 on a server in the finance subnet, from addresses all over the world. A minute later a second alert fires: a warehouse workstation is pushing traffic out on TCP 25 to hundreds of external hosts. Maya has no packet capture yet and no malware report, just two port numbers. Are these two separate problems or one? Which one does she wake her manager for? Port numbers are often the first and only clue you get, and reading them fluently decides how fast you respond.
Begin with what a port actually is. A port number identifies which service on a host should receive network traffic. The IP address gets data to the right machine; the port gets it to the right program, such as the web server or the remote desktop service. Port numbers run from 0 to 65535, and well-known ports (0 to 1023) are assigned to standard services. Security+ expects you to recognize the important ones instantly. Ports matter for security because every open port is a potential entry point: firewall rules, scan results, log entries and hardening tasks are all written in terms of ports, so reading them fluently is a practical skill as well as an exam one.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 9 more sections, 8 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.