Skip to content

小智无法连接服务器 #18

@lsp199308

Description

@lsp199308

lsp@lsp:~$ docker run -it --rm -p 0.0.0.0:8880:8880 -p 0.0.0.0:8881:8881 -e XIAOZHI_WEBSOCKET=192.168.10.114:8880 -v "$(pwd)/myconf.lua:/app/backend/myconf.lua" registry.cn-hangzhou.aliyuncs.com/findstr/xiaozhi-esp32-server-mini:latest
2025-10-16 03:44:22 0000000000000000 I silly 0.6.0 is running ...
2025-10-16 03:44:22 0000000000000000 I cpu affinity setting, timer:0, socket:0, worker:0
2025-10-16 03:44:22 0000000000000002 I [socket] start
2025-10-16 03:44:22 0000000000000000 I [worker] start
2025-10-16 03:44:22 0000000000000003 I [monitor] start
2025-10-16 03:44:22 0000000000000001 I [timer] start
2025-10-16 03:44:22 0000000000000000 I [stdin] start
2025-10-16 03:44:22 0000000000000000 I main.lua:24 [main] load myconf.lua
2025-10-16 03:44:22 0000000000000000 I /opt/lualib/core/dns.lua:312 [dns] server ip: 223.5.5.5:53
2025-10-16 03:44:22 0000000000000000 I main.lua:29 [main] redis ip: 18.162.43.1
2025-10-16 03:44:22 0000000000000000 I ./memory.lua:52 [memory] index memory_idx already exists
2025-10-16 03:44:22 0000000000000000 I ./server/web.lua:151 server.web listen on 0.0.0.0:8881
2025-10-16 03:44:23 0000000000000000 I ./server/xiaozhi.lua:403 [xiaozhi] listen on 0.0.0.0:8880 ,我的主机ip是对的,浏览器http://192.168.10.114:8881/ota返回了{"error":"Device ID is required"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions