> For the complete documentation index, see [llms.txt](https://doc.sk5data.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sk5data.com/doc/zh/faq/dai-li/ru-he-ce-shi-dai-li-lian-jie-shi-fou-zheng-chang.md).

# 如何测试代理连接是否正常？

配置代理后，您可以通过 SK5Data 控制台提供的测试命令，验证代理是否能够正常连接。

**操作步骤：**

1. 登录 SK5Data 控制台，进入对应代理产品的使用页面。
2. 获取代理地址、端口、用户名和密码。
3. 复制页面提供的测试命令，或使用以下 curl 命令进行测试。

HTTP 代理测试：

```bash
curl -L -x http://username:password@hostname:port ipinfo.io
```

SOCKS5 代理测试：

```bash
curl -L -x socks5://username:password@hostname:port ipinfo.io
```

将命令中的连接参数替换为您的实际代理信息。

**如何判断测试结果？**

* 成功返回出口 IP：说明本次代理连接和 IP 查询请求成功。
* 提示认证失败：请检查用户名、密码或白名单配置。
* 提示连接超时：请检查代理地址、端口及网络环境。

您还可以访问 `https://ipinfo.io`，检查出口 IP 的地理位置是否符合预期。

**注意：** 返回代理出口 IP 并不代表所有目标网站均可正常访问，建议在正式使用前测试目标业务。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.sk5data.com/doc/zh/faq/dai-li/ru-he-ce-shi-dai-li-lian-jie-shi-fou-zheng-chang.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
