Failed to start Keycloak – Version 11.0.2 on Centos 7
…bad argument for IP_MULTICAST_IF: address not bound to any interface
In an attempt to solve this case, searches always return to add the parameter “-Djava.net.preferIPv4Stack = true”. But for me, it didn’t solve.
The only way that solved my problem was to edit the /etc/sysctl.conf file. disabling IPV6.
Add the following at the bottom of the file:
net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1
Save and close the file.
Reboot the machine.