fix: bind 0.0.0.0 by default so remote devices can access OCM

- server.listen was hardcoded to 127.0.0.1, causing ERR_CONNECTION_REFUSED on remote access
- Default to 0.0.0.0, add --host flag to override (e.g. --host 127.0.0.1 for local-only)
- Show LAN IP in startup log for easy remote access
- Startup log and error messages switched to English
- Bump version to v0.5.2

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-25 10:12:36 +00:00
co-authored by Claude Opus 4.6
parent 6cca232e9e
commit e38f91ec4a
4 changed files with 57 additions and 17 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
@echo off
:: ================================================================
:: OpenClaw Manager v0.5.1 — Windows 启动脚本
:: OpenClaw Manager v0.5.2 — Windows 启动脚本
::
:: 特性:
:: * 自动检测 Node.js,未安装时给出安装指引(winget/scoop/官网)
@@ -19,7 +19,7 @@ set "MIN_NODE_MAJOR=18"
echo.
echo ===================================
echo OpenClaw Manager v0.5.1
echo OpenClaw Manager v0.5.2
echo -----------------------------------
echo.