Have found plenty of answers to this question but nothing seems to be working.
I have a windows EC2
instance which has tomcat 8 installed and running on port 8080
. I have my application deployed and I am able to access it as localhost:8080/myapp
by connecting to the instance and launching the url in browser.
However, when I try to access it over my home network outside aws, the application is not able to connect.
I know this is because of security group
settings but I have that covered. Even after I do
Security Groups -> Inbound -> Edit:
Custom TCP Rule : TCP: 8080 : Source Anywhere
The problem still remains. Have even tried adding a rule with all traffic
but still no luck.
Also, to mention, I have an Elastic IP
associated to my instance. Have been trying to access with elastic.ip:8080/myapp
but not able to connect.
What else could I try? Any configuration in tomcat's xml
?