Error while accessing tomcat installed in EC2

0 votes

i have installed tomcat 7 in an Ubuntu EC2 instance. It's up and running but I cannot access it using the public ip. I have also setup the security groups as specified in the previous posts. But, still no luck.

Any help on this would be really appreciated.

Nov 23, 2018 in AWS by datageek
• 3,040 points
19 views

1 answer to this question.

0 votes

Make sure your Ubuntu Uncomplicated Firewall is controlling the traffic instead of IP tables.

sudo ufw enable

Then configure it to allow 8080.

sudo ufw allow 8080
It should work
answered Nov 23, 2018 by Archana
• 5,560 points

Related Questions In AWS

0 votes
1 answer

How to upload a lib for Tomcat in Amazon EC2?

You need to set the proper privileges ...READ MORE

answered Aug 20, 2018 in AWS by Archana
• 4,090 points
43 views
0 votes
1 answer
0 votes
1 answer

How to Pass the VPC ID while creating the Ec2 instance in AWS using Python Boto3

import boto3 ec2 = boto3.resource('ec2') instance = ec2.create_instances( ...READ MORE

answered Jan 29 in AWS by Priyaj
• 56,520 points
285 views
0 votes
3 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer