【发布时间】:2016-06-06 09:58:37
【问题描述】:
Windows 命令行是否需要任何代理设置才能 ping 网站?
我可以在浏览器中访问所有网站,但是当我尝试从命令行或 powershell ping 相同的网站时,我收到“请求超时”错误。如何解决这个错误?
在 IE 浏览器中,我设置了一个自动代理检测脚本,因为网络是公司 LAN。尝试了网络中提供的大多数解决方案,但没有任何运气。
因此,我无法运行 chef 命令来安装 gems 并收到错误 Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT:
A connection attempt failed because the connected party did not properly respon
d after a period of time, or established connection failed because connected hos
t has failed to respond. - connect(2) for "api.rubygems.org" port 443 (https://a
pi.rubygems.org/specs.4.8.gz)
【问题讨论】:
-
很高兴你有
tried most of solutions provided in web。如果你能列出你已经尝试过的方法以及它们是如何失败的,那就太好了,这样建议可以集中在尚未尝试过的事情上。
标签: windows powershell command-line proxy chef-infra