Squidclient timeout with Squid 3
-
Hello, guys!
I installed Squid 3.4.10 (pkg 0.2.8), but haven't been able to use squidclient on it.
It says:
client: ERROR: Cannot connect to [::1]:3128: Operation timed out
Is anybody able to use squidclient successfully on Squid 3? Is there any extra config to perform?
Thank you.
-
This should probably be in the Cache/Proxy forum.
What command-line are you using? If you're trying to use the loopback address, use the LAN address instead. This works for me with Squid listening on 10.10.4.1:
squidclient -h 10.10.4.1 -p 3128 mgr:info
Are you on an IPv6-only network? I don't understand why it's complaining about [::1]:3128.
-
Yeah, I was using the loopback address. Tried the LAN address 192.168.0.1, but got the HTML Access Denied response. =(
I'm in an IPv4 network. -
Tried localhost isntead of 127.0.0.1 and it worked. ::) ::) ::) ::)