Check-mk-agent.socket ipv4 ipv6 ubuntu 22.04

Hi

I noticed, that with the syntax blow, only tcp6 is active and not tcp4

[Socket]
ListenStream = 6556
tcp6       0      0 :::6556                 :::*                    LISTEN      0          1004793    1/init              

if I change the ListenStream to

[Socket]
ListenStream = X.X.X.X:6556

it works

tcp        0      0 192.168.0.1:6556        0.0.0.0:*               LISTEN      0          1005906    1/init         

the option BindIPv6Only = both does not help …

AFAIK a tcp6 socket is able to handle IPv4

1 Like

Yes, I just did another test and you are right… sorry …
I did fw stuff and changed to many things at the same time …

cheers Manuel

1 Like