My Android Studio was working fine till morning, but since tonight I get error saying \"Gradle sync failed: Connection timed out: connect. If you are behind an HTTP proxy, p
What worked for me was removing the port settings from the Gradle.properties file. I wasn't using any proxy and that resulted in the mismatch.
I commented out the following lines