This most often means you either have some Firewall or AntiVirus intervening, or you need to use a Proxy to talk to the outworld but did not configure Gradle to use it.
Running with --refresh-dependencies
and --info
or --debug
might give more hints.