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 15, 2019 in AWS by Hannah
• 18,570 points
1,274 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 15, 2019 by Tanya

Related Questions In AWS

0 votes
1 answer

How to setup an alarm when Lambda function fails in AWS?

Hi@akhtar, To create an Alarm for Lambda function, ...READ MORE

answered Apr 2, 2020 in AWS by MD
• 95,440 points
3,717 views
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
• 58,090 points
1,726 views
0 votes
1 answer

Using Shapely on AWS Lambda with Python 3

For some reason, the pip install of ...READ MORE

answered Oct 8, 2018 in AWS by Priyaj
• 58,090 points
2,551 views
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, 2019 in AWS by Shashank
• 1,370 points
1,582 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP