From 41773a75310a5b22ac0f5a1fd5ef40a1f9f8040f Mon Sep 17 00:00:00 2001 From: next-autumn <73510229+next-autumn@users.noreply.github.com> Date: Fri, 18 Jun 2021 20:44:32 +0800 Subject: [PATCH] =?UTF-8?q?Created=20Caddy=E5=90=AF=E5=8A=A8=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Caddy启动失败.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Caddy启动失败.md diff --git a/Caddy启动失败.md b/Caddy启动失败.md new file mode 100644 index 0000000..d00fad7 --- /dev/null +++ b/Caddy启动失败.md @@ -0,0 +1,6 @@ +systemctl status caddy + +问题:错误信息包含 "listen tcp: lookup localhost on 8.8.8.8:53: no such host" +系统无法解析localhost + +解决方案:在/etc/hosts 末尾添加 127.0.0.1 QlikSenseLinux localhost