atomix / copycat

A novel implementation of the Raft consensus algorithm

Home Page:http://atomix.io/copycat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nodes can't communicate over the internet

adagys opened this issue · comments

I'm trying to deploy a Copycat cluster on Azure and getting issues if the nodes aren't on the same private network.

If I try to start a server with the public IP of the machine, it fails:

[copycat-server-/<publicIp>:10101-copycat] netty.NettyServer.listen - Binding to /<publicIp>:10101
[copycat-server-/<publicIp>:10101-copycat] server.CopycatServer.lambda$start$30 - Failed to start server!

which makes sense, since it's not on any of the interfaces.

If I try to bind it to 0.0.0.0, it works, but then 0.0.0.0:X gets advertised as the server (member) address in requests and nodes can't send back any responses.

Just want to follow up on this – are there any plans to support cross-network deployments?