无法访问Jenkins

u12*_*123 6 apache2 jenkins

我使用本指南在我的Ubuntu 12.04台式机上安装了Jenkins:

https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu

我还需要遵循本指南:

http://aslamnajeebdeen.com/blog/how-to-fix-apache-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127011-for-servername-error-on- Ubuntu的

从我的其他机器(mac笔记本电脑)我现在尝试通过safari访问Jenkins:

http://192.168.1.100/jenkins
Run Code Online (Sandbox Code Playgroud)

192.168.1.100我的桌面计算机的IP地址在哪里,但我收到错误404.我也尝试过:

http://jenkins
Run Code Online (Sandbox Code Playgroud)

但没有任何反应.我错过了什么?

Jenkins服务正在我的桌面PC上运行:

service jenkins status
...
Jenkins Continuous Integration Server is running with the pid 3713
Run Code Online (Sandbox Code Playgroud)

如果我输入:localhost:8080在我的台式机上的浏览器中,我得到了jenkins网络界面.

问题已解决:我已按照本指南:

http://www.zzorn.net/2009/11/setting-up-hudson-on-port-80-on-debian.html

它现在有效.

小智 5

我有同样的问题,但没有使用Apache,而只是在Ubuntu上使用Jenkins

我解决它通过更换HTTP_HOST=127.0.0.1HTTP_HOST=0.0.0.0/etc/default/jenkins

  • 我没有在`/ etc/default/jenkins`中看到变量"HTTP_HOST" (9认同)

Gon*_*nen 4

Jenkins默认设置为侦听端口 8080
, 因此您应该将浏览器指向:

http:// localhost:8080 /
(或者,在您的情况下:http:// 192.168.1.100:8080 / )

编辑:

如果仍然无法连接,您可能需要检查您的防火墙设置。