> For the complete documentation index, see [llms.txt](https://docs.ipwo.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ipwo.net/kai-fa-zhe-wen-dang/kuai-su-kai-shi/kuai-su-yan-zheng.md).

# 快速验证

本页面将帮助你快速验证代理是否可以正常使用。

👉 建议在接入代码前，先完成此步骤

***

### ⚡ 一步测试

请将以下内容替换为你的代理信息：

```bash
curl -x "host:port" -U "username:password" https://ipinfo.io
```

***

### 📌 示例

```bash
curl -x "us.ipwo.net:7878" -U "username:password" https://ipinfo.io
```

***

### 📌 示例（带参数）

```bash
curl -x "us.ipwo.net:7878" -U "username_custom_zone_US_sid_12345_time_10:password" https://ipinfo.io
```

👉 参数写在用户名中，可用于控制地区、IP 时长等

***

### ✅ 预期结果

成功时会返回代理 IP 信息，例如：

```json
{
  "ip": "123.45.67.89",
  "country": "US"
}
```

***

### 🔍 如何判断成功？

* 返回 IP 信息 → 代理连接成功
* 返回 IP ≠ 本机 IP → 已通过代理访问
* 请求失败 → 请检查代理配置

***

### ❗ 常见问题

#### 无法连接代理

* 检查 Host / Port 是否正确
* 确认代理已开通

***

#### 认证失败（407）

* 检查用户名和密码
* 确认格式是否正确

***

#### IP 未变化

* 检查是否使用了固定 session（sid）

***

### 💡 使用建议

* 建议先使用该方式测试代理
* 成功后再接入程序
* 参数建议逐步添加，避免配置错误

***

### 👉 下一步

* 查看「[接入方式](broken://pages/FytZ1eL5v0h0ZG7guXuy)」→ 集成到代码
* 查看「[参数说明](/kai-fa-zhe-wen-dang/api-shi-yong-zhi-nan/dai-li-can-shu-shuo-ming.md)」→ 控制代理行为
* 查看「[代码示例](/kai-fa-zhe-wen-dang/dai-ma-shi-li.md)」→ 多语言接入

***

### 总结

快速验证的核心是：

* 使用代理发起一次请求
* 确认返回 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 dynamically by asking a question.

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

```
GET https://docs.ipwo.net/kai-fa-zhe-wen-dang/kuai-su-kai-shi/kuai-su-yan-zheng.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.
