> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qoder.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 配置网络代理

如果公司网络限制直接访问互联网，你可能需要为 Qoder 配置网络代理，以确保其正常运行。

<div id="why-a-proxy-is-needed">
  ## **为什么需要代理**
</div>

公司网络通常使用 HTTP 代理服务器在网络流量发送到目标位置之前进行拦截，以便检测可疑流量或者限制进入公司内网络的内容。在此类环境中，必须将 Qoder 配置为通过代理转发请求。

<div id="how-to-configure-a-network-proxy">
  ## **如何配置网络代理**
</div>

1. 前往 **首选项** > **Qoder 设置**。

在**高级**中找到 **网络代理**。

2. 选择以下代理模式之一：

* 使用**系统**全局配置（默认）\
  Qoder 将自动使用操作系统中的代理设置。

  <img src="https://mintcdn.com/qoder/8lxtPR0Q6BlOVoJ_/images/06.png?fit=max&auto=format&n=8lxtPR0Q6BlOVoJ_&q=85&s=765430d6f26335e0b81aa91c29aac2c4" alt="06 Pn" width="1416" height="344" data-path="images/06.png" />
* **手动**设置网络代理\
  输入代理地址和端口。Qoder 支持以下代理类型：

  * HTTP
  * HTTPS
  * SOCKS5

  <img src="https://mintcdn.com/qoder/8lxtPR0Q6BlOVoJ_/images/zh-07.png?fit=max&auto=format&n=8lxtPR0Q6BlOVoJ_&q=85&s=1b39cfd44226562f85204558906f06b1" alt="Zh 07 Pn" width="1396" height="538" data-path="images/zh-07.png" />

> 注意：请确保提供完整地址，包括协议与端口。示例：`https://127.0.0.xxx:8080`

* 不使用网络代理\
  若不需要代理，请选择此项。若选择手动配置但将字段留空，则不会使用任何代理。

> 重要：请确保代理 URL 完整且格式正确。不完整或错误的配置可能导致 Qoder 无法访问在线服务。
