Curl connection failed with return code - 7, exit

Hello,

I need your help.

i am trying to run cachecrawler.sh but it shows this error
Curl connection failed with return code - 7, exit

I’m searching the internet and almost everything written is about the firewall

for the web to work I am clear that ports 80 and 443 must be open
although to try to solve the problem many other ports are open
and I can’t get the script to run.