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.

Answers


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


Need Your Help

How to unescape special characters from BeautifulSoup output?

python utf-8 character-encoding special-characters beautifulsoup

I am facing issues with the special characters like ° and ® which represent the degree Fahrenheit sign and the registered sign,

Copying files on a daily basis

c# vb.net windows powershell batch-file

I would like to copy some files on a daily basis from one folder to another on a server.