u123
u123

Reputation: 16267

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.

Upvotes: 6

Views: 26865

Answers (2)

Gonen
Gonen

Reputation: 4075

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.

Upvotes: 4

user2908957
user2908957

Reputation: 69

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

Upvotes: 5

Related Questions