在 1.19 这台服务器安装了 OpenClaw,无论使用浏览器还是 curl,都返回信息:Not Found。但在 1.12 服务器上没有问题。
curl http://localhost:18789
返回 Not Found。
查看绑定情况
openclaw config get gateway.bind
输出显示为 loopback。
绑定到 LAN
打开网络连通性设置:
openclaw config set gateway.bind lan
重启 gateway:
openclaw gateway restart
设备列表和配对
配置设备对:
openclaw devices list
批准:
openclaw devices approve
操作无效。
检查 npm 版本
npm -v
当前版本 11.3.0。
升级到 11.11:
npm install -g [email protected]
然后重新 build。
未使用 pnpm 安装
pnpm store prune && rm -rf node_modules && pnpm install
重新安装依赖并构建。
使用 npm 重新安装
npm i -g openclaw openclaw onboard
问题依旧。
尝试删除 OpenClaw 然后重装。先执行删除:
openclaw uninstall
删除完毕提示已停止 systemd 服务并移除相关配置。
重新安装了一遍,问题仍未解决
最终解决方案
最后安装了 openclaw-cn 来解决。显示如下:



