diff --git a/Caddy启动失败.md b/Caddy启动失败.md index d00fad7..13cfdde 100644 --- a/Caddy启动失败.md +++ b/Caddy启动失败.md @@ -1,6 +1,6 @@ -systemctl status caddy -问题:错误信息包含 "listen tcp: lookup localhost on 8.8.8.8:53: no such host" + +问题:用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