Server Not Responding

Hettwer, Marian mhettwer at team.mobile.de
Mon Dec 13 13:12:10 CET 2010


Hi Tom,

On 13.12.10 12:02, "Tom Coady" <tom.coady at gmail.com<mailto:tom.coady at gmail.com>> wrote:

Thanks Traian!

$ sudo varnishd -f /etc/varnish/default.vcl -s malloc,1G -T 127.0.0.1:2000<http://127.0.0.1:2000> -a 0.0.0.0:8080<http://0.0.0.0:8080>
This means, varnish should listen on all interfaces on tcp/8080.

$ more /etc/varnish/default.vcl
backend default {
set backend.host = "127.0.0.1";
set backend.port = "8080";
}
That doesn't make sense. You tell varnish to use the backend at localhost 8080, where as seen above, its varnish.

More likely is that you want to set the backend.port to 80 (as in a later reply of yours I can see that your apache2 is running on 80).

Change it to 80 and varnish will be able to process the request (if nothing else is wrong) ;)

Cheers,
Marian




More information about the varnish-misc mailing list