Keshav_Nandhan
Keshav_Nandhan

Reputation: 152

AWS EC2 instance is running but I am not able to connect

I got my angular app in EC2 instance running successfullyenter image description here

But I am unable to hit the url, as the address is not found. The application runs in 4200 default port, so I tried connecting instance name:4200. I am new to the AWS and I came till this and got stuck. pls advice.

Upvotes: 0

Views: 1648

Answers (1)

Douglas Lopez
Douglas Lopez

Reputation: 396

You need to try enter to the instance a curl to the localhost:4200 If you have a successful connection, the troubleshooting line will be the following

  • View the Firewall configuration, check if you have allowed the inbound traffic to the instances
  • View the aws security groups configurations, see if you have allowed the inbound connection to the port 4200
  • The last thing view the network configuration are you sure this instance has a public IP associated? Is your VPC configured with an Internet gateway?

I hope this steps help you, If you need more detail help next time put more context about your issue

Upvotes: 2

Related Questions