I've started up 3 servers using the following config and this command: consul agent -config-file /path/to/consul.json
{
"server": true,
"client_addr": "<ip addr of the host>",
"data_dir": "/tmp",
"bootstrap_expect": 3,
"ports": {
"dns": 33005,
"server": 33000,
"serf_lan": 33001,
"serf_wan": 33002,
"rpc": 33003,
"http": 33004
}
}
Now that they're up I go to server 1 and try to issue a join:
consul join -rpc-addr <local server ip>:33003 <other server ip>:33003
I get "Error joining the cluster: EOF"
Any ideas?