Consul not registering services when it comes up

Viewed 1829

In my configurations, service definitions are kept in /etc/consul.d/server.

Consul is started with following command:

consul agent -config-dir /etc/consul.d/server

When consul is started, none of the service is registered. However, same services can be registered using web API with same definition files.

What is the issue with multiple service definitions as they are not getting registered?

1 Answers
Related