How to find out Varnish cache listing port numbers

Fig.02: Varnish is configured to listen on port TCP IPv4/IPv6 port # 6081

Fig.02: Varnish is configured to listen on port TCP IPv4/IPv6 port # 6081

Your Varnish cache software is configured to listen on port TCP IPv4/IPv6 port # 6081. This is default and can be viewed with the following command:
$ netstat --listen
$ netstat -tulpn | grep varnishd

Sample outputs:

tcp        0      0 0.0.0.0:6081            0.0.0.0:*               LISTEN      4448/varnishd   
tcp        0      0 127.0.0.1:6082          0.0.0.0:*               LISTEN      4448/varnishd   
tcp6       0      0 :::6081                 :::*                    LISTEN      4448/varnishd   
tcp6       0      0 ::1:6082                :::*                    LISTEN      4448/varnishd   

If you are on FreeBSD Unix try:
$ sockstat

Examples and usage: How to install and configure Varnish cache on Ubuntu Linux 16.04 LTS