> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/integrations/cn/proxy-integrations/get-ip-address-for-integrations.md).

# 获取用于集成的 IP 地址

配置代理时，您需要输入 IP 地址或主机名。如果您的第三方软件需要特定 IP 地址，我们建议将主机名解析为其 IP 地址。

### 使用住宅代理或移动代理

1. 在您的电脑上打开终端
2. 输入命令： `ping pr.oxylabs.io`
3. 系统将提供您需要输入到第三方工具中的 IP 地址

{% hint style="info" %}
动态 IP 可能会随时间变化。如果连接失败，请使用相同流程获取新的 IP。为了更可靠，建议使用接受主机名而不是 IP 的工具——它们会自动连接到最优服务器。
{% endhint %}

### 使用 ISP、数据中心代理或独享数据中心代理

我们提供按 IP 计费的产品，仅通过主机名和端口连接。不支持直接 IP 连接。控制面板中显示的 IP 地址仅供参考。为获得最佳效果，请使用支持主机名和端口连接的第三方工具。

不过，如果您的第三方软件需要特定地址，我们建议按以下方式解决：

1. 在电脑上打开终端
2. 根据您使用的产品输入命令：\
   `ping isp.oxylabs.io` （适用于 ISP）\
   `ping dc.oxylabs.io` （适用于数据中心）\
   `ping ddc.oxylabs.io`（适用于独享数据中心）
3. 系统将提供您需要输入到第三方工具中的 IP 地址
4. 此外，请为代理列表中的目标特定 IP 添加分配的端口号

此变通方法有局限性：服务可能会在维护期间不可用，且 IP 可能会在不通知的情况下更改。如果您的代理停止工作，请通过 ping 主机名获取新的 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://developers.oxylabs.io/integrations/cn/proxy-integrations/get-ip-address-for-integrations.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.
