Java Gradle blocked by firewall

I use Jetbrains Intellij Idea. When I compile a project it fails with “Protocol Family Unavailable”. I need to turn off the firewall to continue. It then succesfully starts and I can see:

Starting Gradle Daemon…Connected to the target VM, address: ‘127.0.0.1:51059’, transport: ‘socket’

I do not see anything in firewall logs.

Similar issues: https://stackoverflow.com/questions/29323700/android-studio-gradle-error-protocol-family-unavailable

Zakázal jsem Avast firewall, zapnul Windows Defender a funguje to. Viníkem je tedy Avast firewall.

Dobry den,

dekujeme za report problemu. Nanestesti se mi nedari reprodukovat, v Intellij Idea vytvorim novy projekt Gradle, dam Build project a operace dobehne v poradku do konce. Mohl bych vas pozadat o blizsi popis?

Dekuji,
HK