gradlew Connect to 127.0.0.1:1080 [/127.0.0.1] failed

There are two places you need to modify (if two places there is the following, depending on their circumstances)

First, delete the project gradle.properties proxy;

systemProp.https.proxyPort=1080
systemProp.http.proxyHost=127.0.0.1
systemProp.https.proxyHost=127.0.0.1
systemProp.http.proxyPort=1080

But I simply do not project configuration. And after some find

Second, delete the C: gradle.properties \ \ under Users xxx \ .gradle proxy

1351616-926c6cd8705d3d02.png
image.png

Reproduced in: https: //www.jianshu.com/p/1afbfc7df7bd

Guess you like

Origin blog.csdn.net/weixin_34037515/article/details/91053485