从/ jenkins返回的远程服务器的错误读取

时间:2015-09-17 15:43:23

标签: apache jenkins mod-proxy

我正在使用詹金斯,目前詹金斯在后台运行良好;但是,当我尝试使用浏览器访问Jenkins时,无法访问Jenkins的主页。当我访问它时,我得到#34;从远程服务器(502)"读取错误。有人遇到过这样的问题吗?什么是解决方法?

2 个答案:

答案 0 :(得分:0)

尝试删除代理:export http_proxy="" && curl http://servername:portnumber/destinationpath/

或使用https代替http,反之亦然(检查运行的jenkins是哪个端口)

它是在apache / nginx /运行吗?重启那个。再次重启Jenkins。检查服务器配置。

答案 1 :(得分:0)

重新启动iptables帖子我已经看到了要解决的问题。

service iptables restart