在获取门户服务器的standalone.conf.bat中添加非代理主机
-Dhttp.proxyHost=10.111.1.00 -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=localhost|127.0.0.1|172.16.31.* "
当我启动服务器时,会出现以下错误。
c:\jboss-jpp-6.1.0\jboss-jpp-6.1\bin>standalone.bat
Calling "c:\jboss-jpp-6.1.0\jboss-jpp-6.1\bin\standalone.conf.bat"
'127.0.0.1' is not recognized as an internal or external command,
operable program or batch file.
发布于 2015-06-25 14:53:56
不能留下评论因为我没有足够的声誉。当我将它设置为Windows中的环境变量时,我也遇到了这个问题。结果,您需要使用^来代替转义\字符。
http://www.robvanderwoude.com/useless.php#EscapeChar
所以这对我起了作用
-Dhttp.nonProxyHosts=localhost^|127.0.0.1^|*.foo.com
https://stackoverflow.com/questions/25744252
复制