easyMultiple ChoiceObjective-mapped
220-1201 Practice Question: A technician is configuring a new web server that…
A technician is configuring a new web server that must support both standard HTTP and HTTPS traffic. Which two ports should be opened in the firewall?
⚠ Common exam trap
CompTIA A+ exams often test the distinction between default well-known ports (80/443) and alternative ports (8080/8443) to catch candidates who confuse common development proxies with standard service ports.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
80 and 443
Standard HTTP traffic uses TCP port 80, and HTTPS (HTTP over TLS/SSL) uses TCP port 443. A web server must have both ports open in the firewall to serve unencrypted and encrypted web content respectively, as defined in RFC 7230 and RFC 2818.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
80 and 443
Why this is correct
Port 80 (HTTP) and port 443 (HTTPS) are the standard ports for web traffic.
- ✗
21 and 22
Why it's wrong here
Port 21 is FTP and port 22 is SSH, not web traffic.
- ✗
8080 and 8443
Why it's wrong here
These are alternate ports for HTTP and HTTPS, not the standard ports.
- ✗
25 and 110
Why it's wrong here
Port 25 is SMTP and port 110 is POP3, used for email, not web.
Go deeper
Related to this question
About these practice questions
Courseiva writes every 220-1201 question from scratch — 972 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 220-1201 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 220-1201 exam.