Dgraph-ratel unable to connect to dgraph server on localhost

That’s some problem with Caddy. If you are able to use Ratel, but port 8080 is not accessible by the same URL that Caddy provides. So it’s a Caddy configuration problem.