当我设置播放框架时,我在代理后面。我编辑了 ~/.activator/activatorconfig.txt 文件,它工作正常。
现在我需要删除该代理才能在不同的网络上工作。我注释掉了这一行,但是当我运行 ./activator new(或 ./activator ui)时,激活器脚本仍然尝试使用代理进行连接。该文件目前看起来像这样
# This are the proxy settings we use for activator
# Multiple proxy hosts can be used by separating them with a '|' sign
# Do not enclose the proxy host(s) in quotes
#-Dhttp.proxyHost=10.10.78.22
#-Dhttp.proxyPort=3128
# Here we configure the hosts which should not go through the proxy.# You should include your private network, if applicable.
-Dhttp.nonProxyHosts="localhost|127.0.0.1"
# These are commented out, but if you need to use authentication for your proxy, please fill these out.
#-Dhttp.proxyUser=(my_username)
#-Dhttp.proxyPassword=(my_password)
此外,当我从先前创建的项目的根目录运行 ./activator 时,浏览器会打开,但请求永远不会完成。是因为代理还是其他原因?
我是这个框架的新手,任何帮助或提示会很棒吗?
提前致谢
PS:终端的互联网连接工作正常。