开启 cmd cmder 代理

cmd

set http_proxy=http://127.0.0.1:7008
set https_proxy=http://127.0.0.1:7008

cmder 使用bash模式

export http_proxy=http://127.0.0.1:7008
export https_proxy=http://127.0.0.1:7008

PowerShell

$env:http_proxy=http://127.0.0.1:7008
$env:https_proxy=http://127.0.0.1:7008

临时有效,关闭会话后失效。可通过curl测试,不要使用ping。

posted @ 2020-11-02 15:05  yg0070  阅读(189)  评论(0编辑  收藏  举报