# 协议

{% hint style="info" %}
我们的客户支持团队全天候 24/7 为您服务 - 请通过以下方式联系我们 [**support@oxylabs.io**](mailto:support@oxylabs.io) 或通过 [**在线聊天**](https://oxylabs.io/)。他们将协助您为您的账户启用 SOCKS5 协议。默认情况下，HTTP 协议已启用。
{% endhint %}

#### HTTP

我们的文档包含代码示例，展示如何使用 `HTTP` 协议连接到代理。该协议受常见库和第三方软件支持。

#### **SOCKS5**&#x20;

要使用 `SOCKS5` 协议，你需要添加 `socks5h` 在您的请求中，例如：&#x20;

```
curl -x socks5h://1.2.3.4:1180 -U USERNAME:PASSWORD ip.oxylabs.io
```

#### 代理端口

代理端口的默认配置包括 `80` 和 `443`，这些是为适配下列 `HTTP` 和 `HTTPS` 协议而设计的标准端口，如下表所示。要访问其他端口，需要进行合规性验证，请联系我们的 [**支持**](mailto:support@oxylabs.io).

| 协议      | 端口    |
| ------- | ----- |
| `HTTP`  | `80`  |
| `HTTPS` | `443` |


---

# Agent Instructions: 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://developers.oxylabs.io/products/cn/dai-li/dedicated-datacenter-proxies/enterprise/protocols.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.
