Re: [squid-users] Connection refused in squidclient mgr:info

From: Chris Robertson <crobertson@dont-contact.us>
Date: Wed, 27 Dec 2006 11:28:32 -0900

Linux Man wrote:
> 2006/12/27, Henrik Nordstrom <henrik@henriknordstrom.net>:
>> ons 2006-12-27 klockan 01:54 -0200 skrev Linux Man:
>> > Hello all
>> > I'm new using Squid
>> > I downloaded 2.6 stable 6, then I compiled it and install
>> > I'm using GNU-malloc.
>> > I want to see some statistics, but when i do "squidclient mgr:info"
>> in a
>> > terminal, I get "client: ERROR: Cannot connect to localhost:3128:
>> Connection
>> > refused"
>> > why? How can I solve it?
>>
>> What is your http_port configured as? squidclient needs to be told the
>> address and port where Squid listens with http_port..
>>
>> Regards
>> Henrik
>>
> I configured in this from "http_port 192.168.100.1:3128"
> I'm using the lan IP, because I don't want to respond request from
> internet. It's more secure, right?
> How I must configure squidclient?
> Thanks a lot
>

Squid is not listening on localhost (127.0.0.1) so you need to inform
squidclient of this. "squidclient -h 192.168.100.1 mgr:info" should
do. Minus the quotes of course.

Chris

P.S. Please don't top post replies. It makes reading the archives tough.
Received on Wed Dec 27 2006 - 13:29:20 MST

This archive was generated by hypermail pre-2.1.9 : Mon Jan 01 2007 - 12:00:01 MST