> 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="https://646740833-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTwJMuwvLuKuFzQUsJRfj%2Fuploads%2F7g8Qr9youOHPXqzeH9hA%2Fimage.png?alt=media&amp;token=95ca3af9-a4a8-4a7f-9a2e-6ecf0200c325" 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) 检查一下你的配置。
