[squid-users] why isn't Squid listening for tcpv4 connections?

Amos Jeffries squid3 at treenet.co.nz
Tue Feb 10 18:53:05 UTC 2015


On 11/02/2015 1:36 a.m., Alan Boba wrote:
> Can't reach any web pages when browsers set to proxy with Squid.
> Squid's running but doesn't appear to be listening for tcpv4 connections. This is a default install on Ubuntu 14.04 server, sudo apt-get install squid3.
> Firewall is not blocking access. Here's command output showing that and apparently showing Squid not listening for tcpv4 connections.
> server:~$ sudo service ufw status
> ufw stop/waitingserver:~$ sudo service squid3 status
> squid3 start/running, process 4048
> server:~$ sudo netstat -plunt | grep squid
> tcp6       0      0 :::3128                 :::*                    LISTEN      4048/squid3     
> udp        0      0 0.0.0.0:47020           0.0.0.0:*                           4048/squid3     
> udp6       0      0 :::44475                :::*                                4048/squid3
> Why is there no "tcp" line? What needs to change so there is one, and if there is one would the server be accepting connections?
> 

Ubuntu is a dual-stack operating system. On dual-stack systems the IPv4
address space is a sub-set of IPv6 numbers. IPv6 sockets like the 3128
and 44475 shown above receive all versions of IP protocol connection.

The 47020 port is possibly a problem, its only accepting IPv4 protocol.

Amos



More information about the squid-users mailing list