Reputation: 29
I've installed Jenkins on my AWS Windows system. I am able to access it within a system using http://localhost:8080/, but I can't access it outside the system using the public IP address.
My EC2 instance is assigned with the public IP address.
I've changed the URL in the Jenkins system configuration too.
How can I access Jenkins from outside the local system? I need the Jenkins' public access URL for linking it with GitHub WebHook.
Upvotes: 1
Views: 16572
Reputation: 11
You have to add port 8080 to security groups.
https://d1.awsstatic.com/Projects/P5505030/aws-project_Jenkins-build-server.pdf
step 1: Go to Security Groups and select your security group
step 2: click on inbound roles then click on Edit inbound rules button
step 3: Click Add Rule, and then choose Custom TCP Rule from the Type list. Under Port Range enter 8080.
Now try http://<your_public_ip>:8080 (use http:// if https:// doesn't work)
Upvotes: 0
Reputation: 29
after i created the Inbound rule inside the EC2 instance, now i can able to access the URL. ControlPanel-->system ans security --> Advance --. Allow Port 8080 [new rule]
Upvotes: 1
Reputation: 9401
Usually, there are three things you should check:
Upvotes: 3