Which pairing of a service with its default port number is correct?
LPIC-1 Exam 102-500, objective 109. Networking fundamentals easy
Machine-checked — no person has signed for it. This question was read against the source cited below by an automated pass, which found no contradiction. That is a weaker claim than it sounds: the same kind of process wrote the question, so it can confirm its own mistake.
Treat it as a good draft rather than as settled fact, and read the source below before you rely on it. It is not used in mock exams here — only questions a person has signed for are.
How these questions are written — where each question comes from, what the verification ledger records, and what happens when one is found wrong.
The options
Not correct HTTPS on TCP 8080
Wrong. HTTPS defaults to TCP 443. Port 8080 is a common unprivileged alternative for plain HTTP used by application servers and proxies.
Not correct DNS on UDP 43
Wrong. DNS uses port 53. Port 43 is whois.
Not correct SSH on TCP 23
Wrong. SSH listens on TCP 22. Port 23 is telnet, the unencrypted protocol SSH replaced.
Correct SMTP on TCP 25
Correct. SMTP for server-to-server mail transfer uses TCP 25. Ports 587 (submission) and 465 are used for authenticated client submission.
Why
Ports worth memorising for this objective: FTP 20 (data) and 21 (control), SSH 22, telnet 23, SMTP 25, DNS 53, HTTP 80, POP3 110, IMAP 143, HTTPS 443. The authoritative local list is /etc/services, which maps these names to numbers.
Where this comes from
- Cited
- LPI exam objective 109.1
- What it says
- Know the default port numbers of common network services.
Practise this
Reading one question is not practice. The trainer will draw a short set from objective 109 and space the ones you get wrong.
More questions on this objective
- A subnet is defined as 192.168.10.0/26. How many addresses in it can actually be assigned to hosts? machine-checked
- A host is configured with the address 172.20.35.77/20. What is the network address of its subnet? machine-checked
- In IPv6, which address is the loopback address, equivalent in role to 127.0.0.1 in IPv4? machine-checked
- Which is the correct fully compressed form of the IPv6 address 2001:0db8:0000:0000:0000:ff00:0042:8329? machine-checked
- DNS normally uses UDP port 53. In which situation does a DNS client or server fall back to TCP on port 53? machine-checked
- Which file on a Linux system maps service names such as ssh, smtp and http to their port numbers and transport protocols? machine-checked