Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
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

22 (SSH)

80 (HTTP)

443 (HTTPS)

3306 (MYSQL)

8080 (HTTP*)

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 


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


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
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers


94.1k users

Browse Categories