0 votes
1 view
in AWS by (8.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.5k 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

Welcome to Intellipaat Community. Get your technical queries answered by top developers !