> For the complete documentation index, see [llms.txt](https://chatgpt-qq.lss233.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chatgpt-qq.lss233.com/chang-jian-wen-ti-jie-da/gocqhttp-qi-dong-guo-cheng-zhong-de-chang-jian-wen-ti.md).

# go-cqhttp 启动过程中的常见问题

#### 1. 连接到反向 WebSocket Universal 服务器 ws\://localhost:8566/ws 时出现错误： dial tcp...

<figure><img src="/files/PIzOFC1UamUXKo2Jj8xN" alt=""><figcaption></figcaption></figure>

这是因为 go-cqhttp 没法成功连接上我们的程序。请检查一下我们的程序是不是启动了。

如果程序确实有在运行，那就按照 [对接 OneBot (go-cqhttp)](/pei-zhi-wen-jian-jiao-cheng/dui-jie-liao-tian-ping-tai/dui-jie-onebot-gocqhttp.md#gocqhttp-de-she-zhi-jiao-cheng) 检查一下你的配置。
