Opening network traffic firewalls

By default, Jenkins runs on HTTP port 8080, so we need to make sure that this port allows traffic:

sudo ufw allow 8080

You will get the following output:

Rules updated Rules updated (v6)

Next, we need to see the status of the rules:

sudo ufw status

You will see output like this:

Status: inactive

Get Hands-On Continuous Integration and Delivery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.