HiveBrain v1.2.0
Get Started
← Back to all entries
debugModerate

Jenkins installed on aws unable to launch on browser

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
jenkinsunablebrowserawslaunchinstalled

Problem

I have a fresh aws instance with Ubuntu 14 installed.

I am trying to install and run jenkins on it. I did the following steps.

Installed java8

wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins

sudo apt-get update
sudo apt-get install jenkins


After that I checked the status of the Jenkins server

sudo service jenkins status


The response was:

Jenkins Automation Server is running with the pid 8355

sudo netstat -ntulp | grep 8080
tcp6       0      0 :::8080                 :::*                    LISTEN      8356/java


However, when I go to ipaddress of :8080 the page does not load.

Going to `` opens the Ubuntu Apache default page.

What do I need to do for Jenkins to launch from browser?

Solution

It seems your have not opened your 8080 port in Security Groups in AWS.

Steps:

-
Go to AWS console

-
Click Security Group and select the security group that you have assigned to your EC2 instance.

-
Click Edit Inbound Rules

-
Add a Custom TCP Rule and add 8080 in the Port Range.

-
You will now see Jenkins rise from the grave :) i.e. first time installation screen.

P.S.:
My Friend, if you have reached till Step 5, you know what to do next ;)

Context

StackExchange DevOps Q#2102, answer score: 10

Revisions (0)

No revisions yet.