Skip to content

Trouble with load balancing socket.io with redis and nginx #4178

Discussion options

You must be logged in to vote

It seems the session stickiness is based on the IP, so you need clients from different IP adresses.

Please check the example here: https://github.com/socketio/socket.io/tree/master/examples/cluster-nginx

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@lenguyenkhoi21
Comment options

@darrachequesne
Comment options

@lenguyenkhoi21
Comment options

Answer selected by darrachequesne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants