Ends in
00
days
00
hrs
00
mins
00
secs
SHOP NOW

⏳ Get 30% OFF on Microsoft Azure and GitHub Reviewers this Black Friday Sale!

Find answers, ask questions, and connect with our
community around the world.

Home › Forums › AWS › AWS Certified Solutions Architect Professional › Use ALB or NLB for Websocket? › Reply To: Use ALB or NLB for Websocket?

  • leon cao

    Member
    November 2, 2025 at 3:51 pm

    Hi, Irene

    Sorry, I still stick to the viewpoints of myself and other replies. As a developer with over ten years of experience, I clearly understand the difference between Layer 4 and Layer 7 communication. Ports are just the labels for inter-process remote communication.

    ALB can work on non-80 and 443 ports, whether it’s listener or target group. As long as the content of the communication protocol message complies with HTTP/HTTPS, it is fine.

    However, this question has never stated from beginning to end that communication can be carried out on non-HTTP /HTTPS protocols (WS/WSS is merely a long connection form of HTTP/HTTPS). If one insists on saying something, Only one sentence can roughly and vaguely infer your point of view: “and the interactive whiteboard feature communicates over port 8080”, however, port 8080 is often used by us programmers as a non-standard HTTP port.

    Therefore, in my opinion, this question is highly misleading. If it is indeed a scenario that requires the use of NLB, it can be clearly stated in the question that some protocols only operate at the TCP/IP layer. If it is such a vague expression, there will definitely be great controversy

Skip to content