[squid-users] squidclient can't connect to localhost

Amos Jeffries squid3 at treenet.co.nz
Sat Jan 23 11:15:30 UTC 2016


On 20/01/2016 10:53 p.m., Henri Wahl wrote:
>> ... and since you are using SMP we will also need to see all your
>> squid.conf settings.
>>
> 
> I testet dith default settings and found them working. Thus I compared
> default and my config and changed this:
> 
> http_port 0.0.0.0:3128
> http_port [::]:3128
> http_port [::1]:3128
> 
> to a simple
> 
> http_port 3128
> 
> and now it works.
> 
> In theory it should have done so before, right?
> 

Yes and no.

0.0.0.0:3128 asks for an IPv4-only listening port.

[::]:3128 on Linux opens a hybrid-stack listening port.

[::1]:3128 asks for a localhost IPv6-only port.


[::]:3128 on a hybrid-stack overlaps with all of the 0.0.0.0:3128 and
[::1]:3128 ports.

Amos



More information about the squid-users mailing list