How to change varnish port in Ubuntu

To change the varnish port, run the command

It opens an editor, in the editor, paste the following

This will change varnish listening port to 80. If you need to change to another port, change “-a :80” to whatever port you want to use. Save and exit the editot.

Now resart varnish

Back to Varnish

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *