Gradle sync: Connection to the Internet denied
I'm trying to sync a Gradle project, but the next Error emerges:
Error: Connection to the Internet denied.
It also says to check this page but the workaround didn't make it.
Its a issue by window firewall, please turn off your window firewall.
I had the same problem and it was due to the company I work for having rigorous firewall and port blocking for security reasons. Check if you have any firewall software in place and change the settings in this if you are able to to enable grandle to download the packages you need.
The Android documentation also offers some tips if you are required to use a proxy. https://developer.android.com/studio/intro/studio-config.html