# 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) 检查一下你的配置。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://chatgpt-qq.lss233.com/chang-jian-wen-ti-jie-da/gocqhttp-qi-dong-guo-cheng-zhong-de-chang-jian-wen-ti.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
