On Wednesday 17 May 2017 at 20:41:06, erdosain9 wrote:

> And if i do this
> 
> http_port 127.0.0.1:3128
> 
> The i get this
> 
> [root@squid ~]# squidclient -vv mgr:menu
> verbosity level set to 2
> Request:
> GET cache_object://localhost/menu HTTP/1.0
> Host: localhost
> User-Agent: squidclient/3.5.20
> Accept: */*
> Connection: close
> .
> Transport detected: IPv4-mapped  and IPv6
> Resolving localhost ...
> Connecting... localhost ([::1]:3128)
> ERROR: Cannot connect to [::1]:3128

Okay, so what happens if you do a consistent test instead:

        http_port 127.0.0.1:3128
and
        GET cache_object://127.0.0.1/menu HTTP/1.0


The fact that your machine is resolving "localhost" to the IPv6 address in 
favour of the IPv4 address you specified in the Squid configuration means that 
you're not testing what you configured - not helpful...


Antony.

-- 
I conclude that there are two ways of constructing a software design: One way 
is to make it so simple that there are _obviously_ no deficiencies, and the 
other way is to make it so complicated that there are no _obvious_ 
deficiencies.

 - C A R Hoare

                                                   Please reply to the list;
                                                         please *don't* CC me.
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to