Re: [squid-users] What could be the reason? "client: ERROR: Cannot connect to localhost:8080: Connection refused"

From: Marc Elsen <marc.elsen@dont-contact.us>
Date: Mon, 14 Jul 2003 15:24:49 +0200

>
> >
> > Liquid Crystal wrote:
> > >
> > > Hi guys,
> > >
> > > When trying the following from the localhost:
> > >
> > > ./squidclient -p 8080 http://www.netscape.com
> > >
> > > I get the error:
> > > client: ERROR: Cannot connect to localhost:8080: Connection refused
> > >
> > > in my squid.conf I have modified:
> > >
> > > http_port 8080
> > > cache_dir ufs /usr/local/squid/cache 1024 16 256
> > > acl localhost src 127.0.0.1/255.255.255.255
> > > http_access allow localhost
> > > cache_effective_user squid
> > > cache_effective_group squid
> > >
> > > The access log file did NOT log that attempt!
> > >
> > > I just want to run squid as a cache for testing purposes only.
> > > Testing Squid 2.5STABLE3 on RH 9.0
> > >
> > > Thanks in advance for all your inputs.
> > >
> > > Sincerely,
> > >
> > > LC
> >
> > What happens if ,
> >
> > % telnet squid_box 8080
> >
> > is done, from the intended (test) client ?
> >
> telnet is not installed on the squid box
>
> > Is squid running on the intended squid box ?
>
> Yes, Squid is running
> # ps -A|grep squid
> 4577 ? 00:00:00 squid
> 4579 ? 00:00:00 squid

 Check, at least squid's cache.log, during squid startup.
 Make sure that you see no fundamental errors and or
 problems in there.

 M.

-- 
 'Love is truth without any future.
 (M.E. 1997)
Received on Mon Jul 14 2003 - 07:24:53 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:58 MST