I configuring the Varnish cache in Magento 2.3(CE), for that I've gone through the below link.
So based on this, I have done everything in my localhost. Moreover, I am not using any HTTPS & SSL.
Now my localhost URL as follows: http://127.0.0.1:8080.
Then using the following commands, I am checking the Varnish status
sudo service varnish restart - working fine sudo service varnish status - Error: VCL Compilation failed
For your further reference herewith I've attached the error screen.
Currently Installed Varnish Version