How to run varnish cache without IPv6?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Operating system: debian 9
, varnish version: 5.0.0
I have turned off IPv6 support on my machine and varnish crashes upon start with the following error:
Error: Cannot open socket: :6081: Address family not supported by protocol
I know this question has been asked here here, but it does not solve my problem. Also, I can't find any IP-related configuration option in the config files.
So, how can I run varnish cache without IPv6 support?
cache varnish
add a comment |Â
up vote
0
down vote
favorite
Operating system: debian 9
, varnish version: 5.0.0
I have turned off IPv6 support on my machine and varnish crashes upon start with the following error:
Error: Cannot open socket: :6081: Address family not supported by protocol
I know this question has been asked here here, but it does not solve my problem. Also, I can't find any IP-related configuration option in the config files.
So, how can I run varnish cache without IPv6 support?
cache varnish
how exactly did you turn off IPv6?
â thrig
Apr 27 at 13:46
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Operating system: debian 9
, varnish version: 5.0.0
I have turned off IPv6 support on my machine and varnish crashes upon start with the following error:
Error: Cannot open socket: :6081: Address family not supported by protocol
I know this question has been asked here here, but it does not solve my problem. Also, I can't find any IP-related configuration option in the config files.
So, how can I run varnish cache without IPv6 support?
cache varnish
Operating system: debian 9
, varnish version: 5.0.0
I have turned off IPv6 support on my machine and varnish crashes upon start with the following error:
Error: Cannot open socket: :6081: Address family not supported by protocol
I know this question has been asked here here, but it does not solve my problem. Also, I can't find any IP-related configuration option in the config files.
So, how can I run varnish cache without IPv6 support?
cache varnish
asked Apr 27 at 12:03
chevallier
8351116
8351116
how exactly did you turn off IPv6?
â thrig
Apr 27 at 13:46
add a comment |Â
how exactly did you turn off IPv6?
â thrig
Apr 27 at 13:46
how exactly did you turn off IPv6?
â thrig
Apr 27 at 13:46
how exactly did you turn off IPv6?
â thrig
Apr 27 at 13:46
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
By default, the main listen address/port is specified in the DAEMON_OPTS variable in /etc/default/varnish
file as -a :6081
, which means both IPv4 and IPv6, port 6081.
Try explicitly specifying an IPv4 listen address with the port: for example, if your system's IP address is 192.168.100.1, edit the address/port option to -a 192.168.100.1:6081
.
Perfect, thanks.
â chevallier
Apr 27 at 19:09
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
By default, the main listen address/port is specified in the DAEMON_OPTS variable in /etc/default/varnish
file as -a :6081
, which means both IPv4 and IPv6, port 6081.
Try explicitly specifying an IPv4 listen address with the port: for example, if your system's IP address is 192.168.100.1, edit the address/port option to -a 192.168.100.1:6081
.
Perfect, thanks.
â chevallier
Apr 27 at 19:09
add a comment |Â
up vote
1
down vote
accepted
By default, the main listen address/port is specified in the DAEMON_OPTS variable in /etc/default/varnish
file as -a :6081
, which means both IPv4 and IPv6, port 6081.
Try explicitly specifying an IPv4 listen address with the port: for example, if your system's IP address is 192.168.100.1, edit the address/port option to -a 192.168.100.1:6081
.
Perfect, thanks.
â chevallier
Apr 27 at 19:09
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
By default, the main listen address/port is specified in the DAEMON_OPTS variable in /etc/default/varnish
file as -a :6081
, which means both IPv4 and IPv6, port 6081.
Try explicitly specifying an IPv4 listen address with the port: for example, if your system's IP address is 192.168.100.1, edit the address/port option to -a 192.168.100.1:6081
.
By default, the main listen address/port is specified in the DAEMON_OPTS variable in /etc/default/varnish
file as -a :6081
, which means both IPv4 and IPv6, port 6081.
Try explicitly specifying an IPv4 listen address with the port: for example, if your system's IP address is 192.168.100.1, edit the address/port option to -a 192.168.100.1:6081
.
answered Apr 27 at 12:29
telcoM
10.2k11032
10.2k11032
Perfect, thanks.
â chevallier
Apr 27 at 19:09
add a comment |Â
Perfect, thanks.
â chevallier
Apr 27 at 19:09
Perfect, thanks.
â chevallier
Apr 27 at 19:09
Perfect, thanks.
â chevallier
Apr 27 at 19:09
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f440407%2fhow-to-run-varnish-cache-without-ipv6%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
how exactly did you turn off IPv6?
â thrig
Apr 27 at 13:46