Check Access to the Application Tier
Check Access to the Application Tier
- Check access to the Application Tier by running the following command:
curl <AppTierLoadBalancerURL>

- TRun curl against the private IP address of the EC2 instance in the Application tier from the Web tier. You should see a Connection refused error.
curl -m 10 <app_tier_ec2_private_ip>

- Try to check a TCP ping using
nping to see if you can receive a response on port TCP 80 or 22.
nping -p 22 <app_tier_ec2_private_ip>

- Port 80:
nping -p 80 <app_tier_ec2_private_ip>
