Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (12.9k points)

I have a Tomcat 7 instance running on port 8080, and would like to run Jenkins on a different port. Another alternative would be to change the Jenkins URL.

How do I add an entry to the list of allowed ports?

I have tried running: sudo /sbin/iptables -A INPUT -p tcp --dport 8181 -j ACCEPT, but in the AWS console it shows only these ports:

0 - 65535       0.0.0.0/0

22 (SSH)        0.0.0.0/0

80 (HTTP)       0.0.0.0/0

443 (HTTPS)     0.0.0.0/0

3306 (MYSQL)    0.0.0.0/0

8080 (HTTP*)    0.0.0.0/0

Is it possible to add a HTTP port (8181) via the AWS console?

1 Answer

0 votes
by (18.2k points)

1. In your EC2 dashboard, find the security group column of your instance.

2. Click on the security group 

image

3. Click on inbound, and then click on edit. 

image

4. In port range input 8181 and source the IP you want to allow incoming access to the instance. then click on apply changes.

Related questions

0 votes
1 answer

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Jul 10, 2019 in AWS by Amyra (12.9k points)

Browse Categories

...