diff --git a/consul/config.go b/consul/config.go index 05f9e855ae..1f40a1abf1 100644 --- a/consul/config.go +++ b/consul/config.go @@ -71,8 +71,8 @@ func DefaultConfig() *Config { conf.SerfWANConfig.MemberlistConfig = memberlist.DefaultWANConfig() // Ensure we don't have port conflicts - conf.SerfLANConfig.MemberlistConfig.Port = DefaultLANSerfPort - conf.SerfWANConfig.MemberlistConfig.Port = DefaultWANSerfPort + conf.SerfLANConfig.MemberlistConfig.BindPort = DefaultLANSerfPort + conf.SerfWANConfig.MemberlistConfig.BindPort = DefaultWANSerfPort // Disable shutdown on removal conf.RaftConfig.ShutdownOnRemove = false