amazon-web-servicesspring-bootamazon-ec2web-deploymentaws-ec2-instance-connect

Spring boot application is running on EC2, isn't responding to the public dns of the EC2


I have a spring boot application, deployed in the EC2 instance. when I hit the DNS it says the site can not be reached.

spring boot application in the ec2, running successfully

hitting the public DNS with the port number


Solution

  • you need to Authorize inbound traffic for your Linux instance