Re: [squid-users] connect: (111) Connection refused

From: Jacob Friis Larsen <webcom.dk@dont-contact.us>
Date: Tue, 31 May 2005 11:37:56 +0200

On 5/31/05, Rost Werner ZFBE GMT-ISN <Werner.Rost@zf.com> wrote:
> You need something like this:
>
> acl localhost src 127.0.0.1/255.255.255.255
> acl manager proto cache_object
> http_access allow manager localhost
> http_access allow localhost

If I login as "manager" with "mypass" and have the below squid.conf I
still get "connect: (111) Connection refused"

http_port 8080
icp_port 0
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 16 MB
#cache_dir ufs /cache 200 16 256
redirect_rewrites_host_header off
#replacement_policy GDSF
acl localnet src 192.168.130.0/255.255.255.0
acl localhost src 127.0.0.1/255.255.255.255
acl Safe_ports port 80 443 210 119 70 21 1025-65535
acl CONNECT method CONNECT
acl all src 0.0.0.0/0.0.0.0
http_access allow localnet
http_access allow localhost
http_access deny !Safe_ports
http_access deny CONNECT
http_access deny all
cache_mgr manager
#cache_effective_user squid
#cache_effective_group squid
log_icp_queries off
cachemgr_passwd mypass all
buffered_logs on
acl manager proto cache_object
http_access allow manager localhost
http_access allow manager localnet

> >-----Ursprüngliche Nachricht-----
> >Von: Jacob Friis Larsen [mailto:webcom.dk@gmail.com]
> >Gesendet: Dienstag, 31. Mai 2005 11:00
> >An: squid-users@squid-cache.org
> >Betreff: [squid-users] connect: (111) Connection refused
> >
> >
> >I am having trouble connecting via cachemgr.cgi
> >I get "connect: (111) Connection refused"
> >
> >Below is my squid.conf
> >
> >http_port 8080
> >icp_port 0
> >acl QUERY urlpath_regex cgi-bin \?
> >no_cache deny QUERY
> >cache_mem 16 MB
> >#cache_dir ufs /cache 200 16 256
> >redirect_rewrites_host_header off
> >#replacement_policy GDSF
> >acl localnet src 192.168.130.0/255.255.255.0
> >acl localhost src 127.0.0.1/255.255.255.255
> >acl Safe_ports port 80 443 210 119 70 21 1025-65535
> >acl CONNECT method CONNECT
> >acl all src 0.0.0.0/0.0.0.0
> >http_access allow localnet
> >http_access allow localhost
> >http_access deny !Safe_ports
> >http_access deny CONNECT
> >http_access deny all
> >cache_mgr webcom
> >#cache_effective_user squid
> >#cache_effective_group squid
> >log_icp_queries off
> >cachemgr_passwd mypass all
> >buffered_logs on
> >
>
Received on Tue May 31 2005 - 03:39:08 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:04 MDT