我想为我的IDE(WebStorm和Android Studio)设置HTTP代理,但它失败了,因为JVM有一些代理设置..我找到了其他IDE(如eclipse)代理设置,如下所示:change some IDE proxy but it still broken < / p>
我考虑过有些人可能会使用JVM的应用程序更改它的jvm代理设置,比如查尔斯?是否可以这样做?
您将JVM属性“https.proxyHost”设置为127.0.0.1“。这可能会导致行为不正确,应在设置中设置代理
Preference>Appearance & Behavior>System Settings>HTTP Proxy
2017-01-07 14:57:30,010 [ 445277] INFO - ntellij.util.proxy.CommonProxy - <html>You have JVM property "https.proxyHost" set to "127.0.0.1".<br>This may lead to incorrect behaviour. Proxy should be set in Settings | HTTP Proxy<br>This JVM property is old and its usage is not recommended by Oracle.<br>(Note: It could have been assigned by some code dynamically.)
如何使用解决方法
答案 0 :(得分:4)
删除代理值的一种方法如下:
Help -> Edit Custom VM Options
-DhttpsProxyHost
-DhttpsPorxyPort
使用这些值再次重启Intellij后,应删除菜单 HTTP代理下的警告。