Connection fails when an instance tries to connect NLB - AWS

0 votes
I have an instance behind my Network Load Balancer which is trying to connect to that Network Load Balancer, but the connection fails. Why is this happening?
Oct 14 in AWS by Hannah
• 16,420 points
27 views

1 answer to this question.

0 votes

Hey @Hannah, so sometimes what happens is that the target, which is an EC2 instance in your case tries to connect with itself. When it does that it has the same source and destination IP. Such packets are ignored and fail to send a response and the connection fails. 

Use the IP target type for your network load balancer:

  1. Create a new target group for the load balancer.
  2. For Target type, choose IT.
answered Oct 14 by Tanya

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

AWS free tier account providing 30GB storage to create an instance

There is no such thing as a ...READ MORE

answered Jul 20, 2018 in AWS by Priyaj
• 56,920 points
80 views
0 votes
1 answer

How to add IAM role to an existing instance in aws?

As of AWS CLI v1.11.46,  you can ...READ MORE

answered Sep 6, 2018 in AWS by Archana
• 4,090 points
172 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
+1 vote
2 answers

How to launch and access an instance using AWS-CLI?

aws ec2 run-instances --image-id ami-id --key-name yourkeyname ...READ MORE

answered Feb 23 in AWS by Shashank
• 1,350 points
161 views