> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://dovee.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Windows - 解决Codex连接不稳定

本文解决的问题：
Windows 系统电脑在微软应用里安装的Codex，Codex应用不走代理网络



解决方法：
在Codex目录里添加代理文件，让代理网络生效


1：退出Codex后，打开文件夹C:\Users\你的用户名.codex


2：在codex文件夹里新建一个记事本文件，输入
https\_proxy=http://127.0.0.1:17897
http\_proxy=http://127.0.0.1:17897
NO\_PROXY=localhost,127.0.0.1


3：文字另存为，文件名设置.env


4：重新打开codex使用
![](https://storage.crisp.chat/users/helpdesk/website/-/5/9/2/c/592c35b5acb14400/1_fuk5hf.png)![](https://storage.crisp.chat/users/helpdesk/website/-/5/9/2/c/592c35b5acb14400/2_1xl33jv.png)![](https://storage.crisp.chat/users/helpdesk/website/-/5/9/2/c/592c35b5acb14400/3_1ryjyml.png)![](https://storage.crisp.chat/users/helpdesk/website/-/5/9/2/c/592c35b5acb14400/4_vhiim6.png)![](https://storage.crisp.chat/users/helpdesk/website/-/5/9/2/c/592c35b5acb14400/5_vfie0l.png)![](https://storage.crisp.chat/users/helpdesk/website/-/5/9/2/c/592c35b5acb14400/6_lqkm6c.png)











