使用python快速启动一个http代理

安装proxy.py的依赖库 pip install proxy.py

执行

proxy –hostname 0.0.0.0 –port 54331 即可,在需要代理访问的服务器上配置:

export http_proxy=http://x.x.x.x:54331
export https_proxy=http://x.x.x.x:54331

评论

请输入您的评论. 可以使用维基语法:
 
python/网络/网络常用工具/使用python快速启动一个http代理.txt · 最后更改: 2026/01/08 02:40