2

I want my HTTP traffic on port 3701 and my WS (websocket) traffic on 3702. For a moment I thought that using 2 target groups was the answer, but there doesn't seem to be a way to differentiate between WS and HTTPS traffic using an ALB.

So perhaps using a NLB (network lb) will allow me to differentiate between the two? How can I have one load balancer forward traffic to 2 different ports?

MrCholo
  • 1
  • 4

1 Answers1

4

Add listeners to the ALB

1 listener for 3701 1 listener for 3702

update the ALB action for each Listener to point to the the correct Target Group

VinDev
  • 176
  • 2