> 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/gu-zhang-pai-chu/ip-bu-sheng-xiao.md).

# IP 不生效

如果配置代理后，访问网站时仍显示本机 IP，或 IP 没有发生变化，通常表示代理未正确生效。

👉 建议优先确认请求是否真正通过代理发送。

***

### 🔍 常见表现

出现以下情况时，通常属于 IP 未生效：

* 显示的仍是本机 IP
* 地区没有变化
* 浏览器显示本地网络位置
* 更换代理后 IP 不变化
* 工具检测不到代理 IP

***

### ⚡ 快速验证（推荐）

请先使用以下命令测试代理：

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

***

#### 判断结果

* ✅ 返回代理 IP → 代理正常生效
* ❌ 返回本机 IP → 代理未生效

***

### 🛠 常见原因与解决方法

***

#### 1️⃣ 请求未真正走代理

这是最常见原因。

虽然配置了代理，但请求可能仍然使用本地网络发送。

***

#### 建议检查：

* 代理是否正确保存
* 浏览器 / 工具是否启用代理
* 代码中是否正确设置 proxies 参数

***

#### Python 示例

```python
proxies = {
    "http": "http://username:password@host:port",
    "https": "http://username:password@host:port"
}
```

***

#### 2️⃣ 浏览器代理未生效

如果在浏览器中：

* 代理配置错误
* 浏览器环境未绑定代理
* 系统代理未开启

都可能导致 IP 不变化。

***

#### 建议：

* 重新配置代理
* 重启浏览器
* 使用 `ipinfo.io` 测试

***

#### 3️⃣ 使用了固定 Session（sid）

如果用户名中设置了：

```
sid_12345
```

则会保持同一个 IP。

***

#### 表现

* 多次请求 IP 相同
* IP 长时间不变化

***

#### 解决方法

* 删除 sid 参数
* 使用轮换 IP 模式

***

#### 4️⃣ 本地网络或 VPN 冲突

如果同时开启：

* VPN
* Clash
* 系统代理
* 其他代理软件

可能导致代理冲突。

***

#### 建议：

* 暂时关闭其他代理工具
* 重新测试代理

***

#### 5️⃣ 工具代理协议错误

请确认：

* HTTP
* HTTPS
* SOCKS5

与实际代理类型一致。

***

### ⚙️ 浏览器中 IP 不生效

如果在 AdsPower 等工具中：

#### 建议检查：

* 是否检测代理成功
* 浏览器环境是否绑定代理
* 是否正确填写账号密码

👉 推荐先使用 cURL 测试成功后再接入工具

***

### 🌍 地区不正确怎么办？

如果 IP 已变化，但地区不符合预期：

#### 建议检查：

* 国家 / 城市参数是否正确
* 当前地区 IP 是否有可用资源

***

#### 示例

```
zone_US
zone_JP
```

***

### 💡 使用建议

* 推荐优先使用 `ipinfo.io` 验证 IP
* 登录业务建议使用粘性 IP
* 数据采集建议使用轮换 IP

***

### ❗ 常见问题速查

| 问题              | 可能原因     |
| --------------- | -------- |
| IP 未变化          | 请求未走代理   |
| 一直同一个 IP        | 使用了 sid  |
| 地区不正确           | 地区参数错误   |
| 浏览器显示本机 IP      | 浏览器代理未生效 |
| AdsPower IP 不变化 | 环境未绑定代理  |

***

### 🆘 仍未解决？

如果问题仍未解决，请联系官方客服。（[官网](https://www.ipwo.net/)右侧在线客服）

👉 建议提供：

* 使用的工具或浏览器
* 当前代理配置
* `ipinfo.io` 测试结果
* 错误截图

***

### 总结

IP 不生效通常由以下原因导致：

```
请求未走代理
↓
浏览器配置异常
↓
使用固定 sid
↓
代理冲突
```

👉 建议先确认出口 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/gu-zhang-pai-chu/ip-bu-sheng-xiao.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.
