The `localhost` value does not work in Varnish settings on a Cloudways managed hosting

Use 127.0.0.1 instead: