I have an instance EC2 installed with Jenkins but it’s not accessible. I have investigated almost everything within my understanding but seems i need more help to check this further.
Can someone please take a look and comment ?
Resource used -- https://www.jenkins.io/doc/tutorials/tutorial-for-installing-jenkins-on-AWS/
Port 8080 listening on VM.
[root@RHEL-VM ~]# netstat -tulpn Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1338/sshd: /usr/sbi tcp6 0 0 :::80 :::* LISTEN 741/httpd tcp6 0 0 :::22 :::* LISTEN 1338/sshd: /usr/sbi tcp6 0 0 :::8080 :::* LISTEN 742/java udp 0 0 127.0.0.1:323 0.0.0.0:* 658/chronyd udp6 0 0 ::1:323 :::* 658/chronyd
Below is the security group inbound rule,
Jenkins service already running, [root@RHEL-VM ~]# systemctl status jenkins ● jenkins.service - Jenkins Continuous Integration Server Loaded: loaded (/usr/lib/systemd/system/jenkins.service; enabled; preset: disabled) Active: active (running) since Tue 2025-05-13 11:02:45 IST; 28min ago Main PID: 3492 (java) Tasks: 48 (limit: 48629) Memory: 546.7M CPU: 27.307s CGroup: /system.slice/jenkins.service └─3492 /usr/bin/java -Djava.awt.headless=true -jar /usr/share/java/jenkins.war --webroot=/var/cache/jenkins/w>
May 13 11:02:43 RHEL-VM jenkins[3492]: 2025-05-13 05:32:43.988+0000 [id=30] INFO h.p.b.g.GlobalTimeOutConfig> May 13 11:02:44 RHEL-VM jenkins[3492]: 2025-05-13 05:32:44.049+0000 [id=30] WARNING o.j.p.d.DockerBuilder$De> May 13 11:02:44 RHEL-VM jenkins[3492]: 2025-05-13 05:32:44.515+0000 [id=29] INFO jenkins.InitReactorRunner$1> May 13 11:02:45 RHEL-VM jenkins[3492]: 2025-05-13 05:32:45.146+0000 [id=29] INFO jenkins.InitReactorRunner$1> May 13 11:02:45 RHEL-VM jenkins[3492]: 2025-05-13 05:32:45.278+0000 [id=32] INFO jenkins.InitReactorRunner$1> May 13 11:02:45 RHEL-VM jenkins[3492]: 2025-05-13 05:32:45.279+0000 [id=31] INFO jenkins.InitReactorRunner$1> May 13 11:02:45 RHEL-VM jenkins[3492]: 2025-05-13 05:32:45.287+0000 [id=30] INFO jenkins.InitReactorRunner$1> May 13 11:02:45 RHEL-VM jenkins[3492]: 2025-05-13 05:32:45.374+0000 [id=30] INFO jenkins.InitReactorRunner$1> May 13 11:02:45 RHEL-VM jenkins[3492]: 2025-05-13 05:32:45.414+0000 [id=23] INFO hudson.lifecycle.Lifecycle#> May 13 11:02:45 RHEL-VM systemd1: Started Jenkins Continuous Integration Server.
Below are subnet settings on AWS console. Routes (2)
1
Destination
Target
172.31.0.0/16 local 0.0.0.0/0 igw-0b809f73f4317e895
Thanks, Piyush
