I have a public subnet with squid installed.
Let's say my subnet is from 22.214.171.124 to 126.96.36.199.
When I set the following:
http_port 50000 http_port 188.8.131.52:50000
it is working.
But when I set:
it is not working.
It is only working with my first public IP from my subnet.
The error I get when it is not working is the following:
commBind: Cannot bind socket FD 10 to 184.108.40.206:50000: (99) Cannot assign requested address
What is wrong with my configuration?
I have a dedicated server and the whole subnet is defined as IP Range. When I use only the port or the first IP and doing
netstat -ntlp | grep 46555
I get the following:
tcp 0 0 0.0.0.0:50000 0.0.0.0:* LISTEN 25532/(squid )
When I use my specific IP, then the netstat query will show nothing, as the server does not start. I don't want squid to listen on all or the first IP, it is just a specific one it should listen to.