How to get server connection with WebSocket via AWS Load Balancer?

#1

Hello, I’m trying to connect my React-Native app to AWS Meteor server with WebSocket protocol.
The Meteor server is set up on env like [AWS Load Balancer] - [EC2 - Meteor Server]

I used react-native-meteor and got a success response with ec2 instance endpoint like:

Meteor.connect('ws://${ec2-instance-public-domain}/websocket')

However,
When I try to connect to the server with AWS Load Balancer’s endpoint, I get disconnected responses.

Is there any way to solve this problem?

Thank you.