[squid-users] SQUID refuses to listen on any TCP Port
Eliezer Croitoru
ngtech1ltd at gmail.com
Sat Mar 12 17:24:15 UTC 2022
Hey Ben,
You should try the next test:
install netcat with "apt install netcat"
Then run the next two commands:
netcat -v -l -6 4444
netcat -v -l -4 4444
and send us the output of these.
You can change the ports to 3128 which doesn't work and see what might cause
this issue.
It's possible that your VPS hosting service is using a custom kernel or
another thing happens there.
It's not squid by itself that is at fault in this issue since it was tested
on more then one system over the last 10 years including Ubuntu 20.04.
All The Bests,
Eliezer
----
Eliezer Croitoru
NgTech, Tech Support
Mobile: +972-5-28704261
Email: ngtech1ltd at gmail.com
-----Original Message-----
From: squid-users <squid-users-bounces at lists.squid-cache.org> On Behalf Of
ben
Sent: Saturday, March 12, 2022 05:25
To: squid-users at lists.squid-cache.org
Subject: Re: [squid-users] SQUID refuses to listen on any TCP Port
Hi Eliezer,
Thanks for your help. I tried your method. it worked in a few VM
instances but not on others. All have the same version of ubuntu 20.04.
I just have no idea why Squid is so glitchy. same methods, same OS,
sometimes it did start accepting connection on the specificed TCP port,
but most of times it didn't. I also tried to install from a PPA repos
and it is the same story. Any suggestion?
> Hey Ben,
>
> I cannot tell you if there is something wrong with what you are doing or
the
> OS.
> What I did was to install a basic squid on ubuntu 20.4 which comes with
> version 4.10.
> I shut down the current running suqid.
> I took the /etc/squid/squid.conf file and left it with a single line.
> After that I started squid with "systemctl start squid" and it seems to
work
> fine.
> I shut down squid and downloaded my version and again left the squid.conf
> with a single line.
> Just.. adding the mime.conf into /etc/squid/ and it worked like a charm.
> Try to use "ss -ntlp" instead of netstat.
> You should first try this on a VM on you local desktop in virtualbox or
> hyperv.
>
> All The Bests,
> Eliezer
>
> ----
> Eliezer Croitoru
> NgTech, Tech Support
> Mobile: +972-5-28704261
> Email: ngtech1ltd at gmail.com
>
> -----Original Message-----
> From: squid-users <squid-users-bounces at lists.squid-cache.org> On Behalf Of
> ben
> Sent: Sunday, March 6, 2022 07:51
> To: squid-users at lists.squid-cache.org
> Subject: Re: [squid-users] SQUID refuses to listen on any TCP Port
>
>
> Hi Eliezer,
>
> It is a KVM VPS server with ubuntu 20.04. I just reinstalled the whole
> operating sytem and started it from scratch but got the same result: No
> tcp port listening. I don't know if it is something wrong with the OS
> template. Please let me know what I need to do. Thank you!
>> Hey Ben,
>>
>> If it doesn't work for you then you are clearly doing something wrong....
>>
>> I can try to give you instructions on how to make it work 100% unless
your
> setup is messed up or is not a plain ubuntu 20.04.
>> Is it a simple VM?
>>
>> Eliezer
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
squid-users at lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users
More information about the squid-users
mailing list