Intellipaat Back

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

I want to add port 8080 to the EC2 security group to access tomcat. But whenever I select HTTP from drop down I get 80 port as default and also can't change it.

So how can I add 8080 so that I can access Tomcat publicly?

1 Answer

0 votes
by (44.4k points)

Go to Security Groups under Network & Security on the left hand side:

image

Then, choose the security group linked to your EC2 instance and Choose "Inbound" and click on "edit"

image

In the prompted dialogue box, Choose Type as "custom TCP rule" and then you can mention your port range there as "8080".

image

That's it!

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
2 answers

1.2k questions

2.7k answers

501 comments

693 users

Browse Categories

...