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 <aws_instance_ip_address>:8080
the page does not load.
Going to <aws_instance_ip_address>
opens the Ubuntu Apache default page.
What do I need to do for Jenkins to launch from browser?
curl localhost:8080
on the jenkins host? what aboutcurl <aws_instance_ip_address>:8080
on the jenkins host?