Welcome to the Linux Foundation Forum!

Lab 6. Setting Up Jenkins

On "Exercise 6.1. Set Up Jenkins", at Point 4., instead of "http://HostIP:8080" should be "http://localhost:8080".
The suggestion with the public IP ("curl ifconfig.io to get your public IP") didn't worked, at least not for me.
Thank you!

Comments

  • Hello @gabriel.vasile ,

    We are running our Jenkins as container and mapped the port 8080. We can use any ip of the host and port 8080 to access the application. The course suggests you to use the public ip, assuming you are running the container on a cloud based VM. If you are using cloud based vm to access the application you will need to use your public ip. If you are running locally you can use localhost, hostip (private ip)

    "docker run--name myjenkins1 -dit -p 8080:8080... "

    Hope this help. Thank you.

    Regards,
    Fazlur

  • Thank you very much for your time @fazlur.khan, it helped a lot.
    Of course I ran it locally just to verify it works.

    Prior I've tried with the cloud based VM but I've got no response in my browser from the cloud based VM.

    Now I finally figured it out why, after carefully reading the Google VM VPC firewall rules: "By default, incoming traffic from outside your network is blocked."
    I've created a new firewall rule and now it works wonderful.

  • Awesome... I am glad it works. Happy Learning...

Categories

Upcoming Training