에서 Exception in thread "main" java.net.ConnectException...

에서 Exception in thread "main" java.net.ConnectException...

JAVA 2016. 11. 17. 14:37

gradle.properties 파일을 열고, proxy를 설정해준다.

org.gradle.daemon=true

systemProp.https.proxyHost=proxy.company.net

systemProp.https.proxyPort=8181

systemProp.http.proxyHost=proxy.company.net

systemProp.http.proxyPort=8181

systemProp.https.nonProxyHosts=*.company.com|localhost

당연히 입력값은 프록시 주소에 따라 바뀌어야 함.

출처: https://2atom.tistory.com/57 [Think Bicycle]

from http://i5i5.tistory.com/515 by ccl(A) rewrite - 2021-09-13 21:00:59