1 Answer
- Newest
- Most votes
- Most comments
0
Hi
Target Port Ensure the target group in your load balancer is configured to forward traffic to the correct port on your EC2 instance where the Docker container is listening. Double-check that the target port in the load balancer matches port 5000 where your server listens (based on your localhost:5000/api access).
Security Group Verify that the security group of your EC2 instance allows traffic on port 5000 (or the container port) from the load balancer's security group.
Health Checks Verify the load balancer health checks are functioning correctly.
