简体   繁体   English

Perl PPM 错误“失败 500 无法连接到 ppm4.activestate.com:8080(连接:超时)”

[英]Perl PPM error “failed 500 Can't connect to ppm4.activestate.com:8080 (connect: timeout)”

when I try to connect PPM it shows this error, i have verified firewall also it has not activated.当我尝试连接 PPM 时,它显示此错误,我已验证防火墙也未激活。 I can't able to download even a single module from activestate.我什至无法从 activestate 下载单个模块。

Thanks in advance.提前致谢。

Arivu阿里武

If you are using a proxy, it could be that you have not set the proxy environment variable.如果您使用的是代理,则可能是您尚未设置代理环境变量。

 set http_proxy=http://myproxyserver.mydomain.com:5050

See their PPM Documenation查看他们的 PPM 文档

Install Fiddler Web Debugger ( www.fiddler2.com ), launch it, start a web browser (for Fiddle to detect settings), then relaunch PPM.安装 Fiddler Web Debugger ( www.fiddler2.com ),启动它,启动 Web 浏览器(用于 Fiddle 检测设置),然后重新启动 PPM。

Fiddler will work as the proxy and resolve the requests properly. Fiddler 将作为代理工作并正确解决请求。 I didn't even need to add the "http_proxy" environment setting that is recommended by ActiveState, but you may need to, so from a command prompt type: set http_proxy=http://127.0.0.1:8888 then from this same command prompt type PPM to launch the PPM我什至不需要添加 ActiveState 推荐的“http_proxy”环境设置,但您可能需要,所以从命令提示符类型: set http_proxy=http://127.0.0.1:8888然后从这个相同的命令提示输入PPM以启动 PPM

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM