[squid-users] squidclient can't connect to localhost

Henri Wahl h.wahl at ifw-dresden.de
Mon Jan 18 10:13:05 UTC 2016


Hi list,
Since I upgraded the OS to CentOS 7.2 and Squid to 3.5.12 (RPM from
www1.ngtech.co.il the local squidclient gets no answer if pointed to
localhost:

# squidclient -v -p 3128 mgr:info
Request:
GET cache_object://localhost/info HTTP/1.0
Host: localhost
User-Agent: squidclient/3.5.12
Accept: */*
Connection: close


.
ERROR: Cannot connect to [::1]:3128


Same with IPv4:

# squidclient -v -h 127.0.0.1 -p 3128  mgr:info

Request:
GET cache_object://127.0.0.1/info HTTP/1.0
Host: 127.0.0.1
User-Agent: squidclient/3.5.12
Accept: */*
Connection: close


.


According to netstat squid is listening:

# netstat -tlpn
Aktive Internetverbindungen (Nur Server)
Proto Recv-Q Send-Q Local Address           Foreign Address
State       PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*
LISTEN      927/sshd
tcp        0      0 0.0.0.0:3128            0.0.0.0:*
LISTEN      1373/(squid-9)
tcp        0      0 127.0.0.1:25            0.0.0.0:*
LISTEN      1814/master
tcp6       0      0 :::80                   :::*
LISTEN      923/httpd
tcp6       0      0 :::22                   :::*
LISTEN      927/sshd
tcp6       0      0 ::1:25                  :::*
LISTEN      1814/master


Even there it is strange that it does not listen anymore on IPv6 even if
there was no change in the config file. The relevant part looks like this:

http_port 0.0.0.0:3128
http_port [::]:3128
http_port [::1]:3128


Aside this squidclient problem everything runs fine.
Any idea?

Thanks and regards

-- 
Henri Wahl

IT Department
Leibniz-Institut fuer Festkoerper- u.
Werkstoffforschung Dresden

tel: +49 (3 51) 46 59 - 797
email: h.wahl at ifw-dresden.de
https://www.ifw-dresden.de

Nagios status monitor Nagstamon: https://nagstamon.ifw-dresden.de

DHCPv6 server dhcpy6d: https://dhcpy6d.ifw-dresden.de

S/MIME: https://nagstamon.ifw-dresden.de/pubkeys/smime.pem
PGP: https://nagstamon.ifw-dresden.de/pubkeys/pgp.asc

IFW Dresden e.V., Helmholtzstrasse 20, D-01069 Dresden
VR Dresden Nr. 1369
Vorstand: Prof. Dr. Manfred Hennecke, Dr. Doreen Kirmse


More information about the squid-users mailing list