Difficulty: Easy
Correct Answer: 3128
Explanation:
Introduction / Context:
Squid is a widely used proxy server for caching and filtering web traffic. One of the first steps in configuration or troubleshooting is knowing which TCP port it listens on by default.
Given Data / Assumptions:
Concept / Approach:
By default, Squid listens on port 3128. This port is chosen historically and is distinct from port 80 (HTTP) or 443 (HTTPS). Administrators can change this value in the configuration file (squid.conf) if required.
Step-by-Step Solution:
Verification / Alternative check:
Examine /etc/squid/squid.conf for http_port directive. Unless modified, it is set to 3128.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
3128.
Discussion & Comments