Trying to run consul on my system.
Have followed link to download consul:
consul agent -server -bootstrap-expect 1 \ -data-dir /tmp/consul -node=agent-one \ -bind=127.0.0.1:8500 \ -client=0.0.0.0 \ -config-dir /etc/consul.d \ -ui-dir /opt/consul/
But getting an error:
WARNING: BootstrapExpect Mode is specified as 1; this is the same as Bootstrap mode. ==> WARNING: Bootstrap mode enabled! Do not enable unless necessary ==> Starting Consul agent... ==> Error starting agent: Failed to start Consul server: Failed to start lan serf: Failed to create memberlist: Failed to parse advertise address!