< Day Day Up > |
http_port |
This is the port, or ports, Squid uses to listen for HTTP requests from cache clients . If your system has more than one network interface, you can use the optional hostname prefix to make Squid bind the socket to a specific IP address. The hostname must correspond to one of your interface addresses. I recommend using an IP address here, instead of a hostname, to avoid DNS lookup delays at startup.
If you run Squid as a surrogate (accelerator), you probably want to accept HTTP connections on port 80. Binding to privileged ports requires root permissions.
Syntax | http_port [hostname:]port [[hostname:]port] ... |
Default | http_port 3128 |
Example | http_port 8080 http_port 3128 3129 3130 3131 http_port 192.168.1.1:3128 |
Related | https_port , icp_port , htcp_port , snmp_port , httpd_accel_port , http_access |
< Day Day Up > |