Once I tried to build using a proxy. Later whenever I try to rebuild the app using no or a different proxy it still wants to connect using the old proxy:
Connect to 127.0.0.1:9666 [/127.0.0.1] failed: Connection refused: connect
Notes:
gradle is participatingThanks!
I've found the solution:
Since the problem was happening for all of the projects, I would investigate the global gradle settings file named gradle.properties located at USER_HOME/.gradle directory.
After commenting/removing proxy related lines everything fixed:
# systemProp.http.proxyHost=127.0.0.1
# systemProp.https.proxyPort=9666
# systemProp.https.proxyHost=127.0.0.1
# systemProp.http.proxyPort=9666
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With