site can't reachable through the public IP

0

How to fix this problem, can any one suggest pls:

This site can’t be reached15.152.45.222 took too long to respond. Try:

Checking the connection Checking the proxy and the firewall Running Windows Network Diagnostics ERR_CONNECTION_TIMED_OUT

Rekha
gefragt vor 8 Monaten159 Aufrufe
2 Antworten
0

Hello.

Do the inbound rules of the EC2 security group allow HTTP port 80 and HTTPS port 443?
Also check the inbound and outbound rules in the subnet's network ACL.
https://repost.aws/knowledge-center/connect-http-https-ec2

profile picture
EXPERTE
beantwortet vor 8 Monaten
  • Yes, it’s all done, still am facing the problem

  • Probably Tomcat's listening port is 8080, so even if port 80 is allowed in the security group, it cannot be accessed. If you change Tomcat's listening port to something like 80, you can connect by allowing port 80 in the security group. Of course, if you want to continue using port 8080, just allow port 8080 in your security group.

0

Is the actual backed healthy? Anything from logs?

profile picture
EXPERTE
beantwortet vor 8 Monaten
  • I just installed tomcat in the container, if I add custom TCP for 8080 in the inbound rule, I can access the tomcat page via public IP, will this way is valid ? can anyone pls confirm. If I remove custom TCP for 8080 am again unable to access the tomcat server page through public IP. Can anyone kindly help pls!

  • Ya nothing from logs

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen