简体   繁体   中英

Cannot access Jenkins

I have installed Jenkins on my Ubuntu 12.04 desktop machine using this guide:

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

I also needed to follow this guide:

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

From my other machine (mac laptop) I now try to access Jenkins through safari:

http://192.168.1.100/jenkins

where 192.168.1.100 is the ip address of my desktop machine but I get an Error 404. I have also tried:

http://jenkins

but nothing happens. What am I missing?

The Jenkins service is running on my desktop PC:

service jenkins status
...
Jenkins Continuous Integration Server is running with the pid 3713

And if I enter: localhost:8080 in a browser on my desktop pc I get the jenkins web interface.

PROBLEM SOLVED: I have followed this guide:

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

and it now works.

I had the same problem but not using Apache, rather only Jenkins on Ubuntu

I solved it by replacing HTTP_HOST=127.0.0.1 with HTTP_HOST=0.0.0.0 on /etc/default/jenkins

Jenkins is set to listen on port 8080 by default,
so you should point your browser to:

http:// localhost:8080 /
(or, in your case: http:// 192.168.1.100:8080 / )

EDIT:

If still not able to connect, you may wish to check your firewall settings.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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