2021年3月25日星期四

Nodejs Websocket and Ec2 Load balancer not working

I am currently having an issue deploying my web app on amazon and wondering what causes the problem. My setup is composed of 1 ec2 instance using Application Load balancer so i can implement SSL. enter image description here

And under the Target groups is got this configurations enter image description here

The port 80, 443 and port 3000(node server) is working fine but the port 5000(websocket) and 8000(videocall) is not working.

I'm using the WS for nodejs not the socket io

I hope you can help me with this issue.

https://stackoverflow.com/questions/66809640/nodejs-websocket-and-ec2-load-balancer-not-working March 26, 2021 at 09:03AM

没有评论:

发表评论