I created Load Balancer and my socket.io stoped working

October 14, 2019 176 views
Nginx Load Balancing Networking

After adding Load Balancer, my NodeJs server is not receiving any socket.io handshakes and got’s rejected automatically. The question i have is, do i need to add some specific http/tcp redirect rule to that Load Balancer in order to receive socket.io calls on droplets?

2 Answers

Hello, @bachinadiradze

May I ask if you’ve opened all the needed ports on the Load Balancer? You can check all the ports you need/use and make sure they’re open on the Load Balancer as well.

I’m having a similar issue with NGINX

Have another answer? Share your knowledge.