作者:U友60759920 | 来源:互联网 | 2023-02-14 01:19
我想为我的IDE(WebStorm和Android Studio)设置HTTP代理,但是失败了,因为JVM有一些代理设置。.我发现了其他IDE(如eclipse)proxySetting如下:更改一些IDE代理,但它仍然坏了
我考虑过也许有人使用JVM的Application更改了它的jvm代理设置,例如Charles?是否可以这样做?
您的JVM属性“ https.proxyHost”设置为127.0.0.1”。这可能导致错误的行为,应在“设置”中设置“代理”
首选项>外观和行为>系统设置> HTTP代理
2017-01-07 14:57:30,010 [ 445277] INFO - ntellij.util.proxy.CommonProxy - You have JVM property "https.proxyHost" set to "127.0.0.1".
This may lead to incorrect behaviour. Proxy should be set in Settings | HTTP Proxy
This JVM property is old and its usage is not recommended by Oracle.
(Note: It could have been assigned by some code dynamically.)
如何使用解决它
1> Chakra..:
删除代理值的一种方法如下:
转到Intellij菜单-> Help -> Edit Custom VM Options
包括以下两个属性,这些属性将取消设置已经设置的代理值
-DhttpsProxyHost
-DhttpsPorxyPort
使用这些值再次重新启动Intellij后,应删除菜单HTTP Proxy下的警告。