> 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/dai-li-ji-chu-zhi-shi/shen-me-shi-dai-li-ip.md).

# 什么是代理IP

代理 IP（Proxy IP）是一种通过中间服务器转发网络请求的技术。

简单来说：

👉 你的网络请求不会直接访问目标网站，而是先经过代理服务器，再由代理服务器访问目标网站。

***

### 🌍 代理 IP 的工作原理

正常情况下：

```
你的设备
↓
目标网站
```

使用代理后：

```
你的设备
↓
代理服务器
↓
目标网站
```

👉 目标网站看到的是代理 IP，而不是你的本机公网 IP。

***

### 🔍 为什么要使用代理 IP？

代理 IP 常用于：

| 场景                                                      | 用途       |
| ------------------------------------------------------- | -------- |
| 跨境业务                                                    | 海外网络访问   |
| [数据采集](/ying-yong-chang-jing/shu-ju-cai-ji.md)          | 降低 IP 限制 |
| [多账号管理](/ying-yong-chang-jing/duo-zhang-hao-guan-li.md) | 隔离账号环境   |
| [SEO 监控](/ying-yong-chang-jing/seo-jian-kong.md)        | 多地区搜索    |
| 社媒运营                                                    | 稳定海外 IP  |

***

### 🌐 什么是 IP 地址？

IP 地址可以理解为：

👉 设备在互联网中的“网络地址”。

例如：

```
123.123.123.123
```

网站会根据 IP：

* 判断用户地区
* 限制访问频率
* 识别网络环境

***

### ⚙️ 使用代理 IP 后会发生什么？

使用代理后：

* 网站看到的是代理 IP
* 可以切换国家地区
* 可以隐藏本机公网 IP
* 可降低单 IP 请求压力

***

### 🌍 常见代理类型

常见代理主要包括：

| 类型                                 | 特点        |
| ---------------------------------- | --------- |
| [住宅代理](https://www.rapidproxy.io/) | 真实家庭网络 IP |
| 数据中心代理                             | 服务器机房 IP  |
| 动态代理                               | IP 自动轮换   |
| 静态代理                               | 长时间固定 IP  |

***

### 🏠 什么是住宅代理？

住宅代理通常来自：

👉 真实家庭宽带网络。

相比数据中心 IP：

住宅代理通常：

* 更接近真实用户
* 更不容易触发风控
* 更适合长期业务使用

***

### 🔄 什么是动态代理？

动态代理支持：

👉 每次请求自动更换 IP。

适合：

* 数据采集
* SEO 监控
* 高频请求

***

### 📌 什么是静态代理？

静态代理：

👉 长时间使用同一个 IP。

适合：

* 多账号运营
* 店铺管理
* 广告账户

***

### ⚡ 如何使用代理 IP？

常见使用方式：

| 方式     | 示例                                                                                                                                                                                                    |
| ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 浏览器配置  | Chrome / [AdsPower](/ji-cheng-jiao-cheng/zhi-wen-liu-lan-qi/adspower-liu-lan-qi-ji-cheng-zhi-nan.md)                                                                                                  |
| 程序代码   | [Python](/kai-fa-zhe-wen-dang/dai-ma-shi-li.md#python-shi-li-requests) / [Node.js](https://docs.ipwo.net/dai-li-ji-chu-zhi-shi/spaces/ordHLNpbE9F7xSM09RQj/pages/42y89Bt7gDJ5N53aTgJd#node.js-shi-li) |
| API 调用 | requests / curl                                                                                                                                                                                       |
| 云手机    | [Redfinger](/ji-cheng-jiao-cheng/yun-shou-ji-mo-ni-qi/hong-shou-zhi-yun-shou-ji-ji-cheng-zhi-nan.md)                                                                                                  |

***

### 🖥 cURL 示例

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

***

### 📍 使用后如何验证代理是否生效？

访问：

```
https://ipinfo.io
```

如果显示：

* 新 IP
* 对应代理地区

👉 表示代理已成功生效。

***

### ⚠️ 代理 IP ≠ VPN

很多用户容易混淆：

| 项目   | 代理 IP | VPN    |
| ---- | ----- | ------ |
| 生效范围 | 指定程序  | 整个系统   |
| 使用方式 | 更灵活   | 更简单    |
| 开发接入 | 更适合   | 较少用于开发 |

***

### 💡 常见使用场景

代理 IP 常用于：

* 跨境电商
* 社媒运营
* [广告投放](/ying-yong-chang-jing/facebook-guang-gao.md)
* [数据采集](/ying-yong-chang-jing/shu-ju-cai-ji.md)
* [SEO监控](/ying-yong-chang-jing/seo-jian-kong.md)
* [AI数据训练](/ying-yong-chang-jing/ai-shu-ju-xun-lian.md)

***

### ❗ 常见问题

#### 使用代理后网站还能看到我吗？

网站看到的是：

👉 代理 IP，而不是你的本机[公网 IP](/dai-li-ji-chu-zhi-shi/shen-me-shi-gong-wang-ip.md)。

***

#### 为什么有些网站仍会检测环境？

因为很多平台不仅检测 IP，还会检测：

* 浏览器指纹
* Cookie
* 设备环境

***

#### 动态代理和静态代理怎么选？

通常：

* 数据采集 → [动态代理](/dai-li-chan-pin/dong-tai-zhu-zhai-dai-li.md)
* 多账号运营 → [静态代理](/dai-li-chan-pin/jing-tai-zhu-zhai-dai-li.md)

***

### 🆘 遇到问题怎么办？

如果出现：

* [无法连接代理](/gu-zhang-pai-chu/dai-li-lian-jie-shi-bai.md)
* [IP 不生效](/gu-zhang-pai-chu/ip-bu-sheng-xiao.md)
* [请求超时](/gu-zhang-pai-chu/chao-shi-timeout.md)

建议优先检查：

* 当前网络环境
* 代理配置
* 协议是否正确

***

### 总结

代理 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 dynamically by asking a question.

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

```
GET https://docs.ipwo.net/dai-li-ji-chu-zhi-shi/shen-me-shi-dai-li-ip.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
