If your Java networking is broken and any traffic always
results in a "java.net.SocketException: Network is unreachable" error, then here comes a quick fix:
- edit /etc/sysctl.d/bindv6only.conf
- change value net.ipv6.bindv6only=1 into 0
- invoke-rc.d procps restart