momocow / node-cq-websocket

A Node SDK for developing QQ chatbots based on WebSocket, which is depending on CoolQ and CQHTTP API plugin.

Home Page:https://cq-websocket.js.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WS connect problem

ChrisWen960216 opened this issue · comments

Here is my situation:
Host: 192.168.102.24,
Docker: 192.168.102.24:8888,
cqHttp:

    "host": "192.168.102.24",
    "port": 5700,
    "use_http": true,
    "ws_host": "192.168.102.24",
    "ws_port": 6700,
    "use_ws": true,

node-cq-webscoket

  port: 6700,
  host: '127.0.0.1',//0.0.0.0 || 192.168.102.24

still cannot establish connect to cqHttp server,is there something wrong?
please tell me more details if you are convience.
Thanks!

I had fix it.Thanks