Setting up caddy-api.service & localhost:2019/config/

Running v2.1.1 => /tmp/caddy-20200823-167730-cffxeq/caddy-2.1.1.

Followed the directions at Install — Caddy Documentation to set up caddy-api.service. Successfully ran sudo systemctl start caddy

Then ran:

curl localhost:2019/config/

curl: (7) Failed to connect to localhost port 2019: Connection refused

Should caddy running on localhost:2019 be expected when using systemctl?

Yes, that should work. What are in your Caddy logs? It’s unclear what’s happening here without more detail.

This topic was automatically closed after 30 days. New replies are no longer allowed.