在IntelliJ IDEA中从代理中排除主机?

时间:2011-12-20 15:53:39

标签: intellij-idea

我需要告诉IntelliJ不要将HTTP代理用于驻留在我们Intranet上的某些主机。出于某种原因,当IntelliJ使用代理时,Weblogic部署插件存在问题。这似乎与this post类似。但是,我仍然需要代理其他插件/功能。

大多数使用代理的东西都有某种排除主机的方法。 IDEA怎么样?我正在评估第11版。

1 个答案:

答案 0 :(得分:4)

请参阅Java Networking and Proxies

-Dhttp.nonProxyHosts="localhost|host.mydomain.com"

在IntelliJ IDEA中,可以在Windows上的 IDEA \ bin \ idea.exe.vmoptions (或 IDEA \ bin \ idea64.exe.vmoptions )中添加此选项, Linux上的 IDEA / bin / idea.vmoptions (或 IDEA / bin / idea64.vmoptions )或Mac上的Info.plist