
在 Terminal 输入 trans good ,返回: [ERROR] Google returned an error response. HTTP status code: 404 [ERROR] Other HTTP error
用路由器梯子和 export 都试过,还是不行,以前都不用梯子都行的。。。
1 neiltroyer849 2022 年 10 月 24 日 via iPad google 翻译不是不久前才宣布撤出中国了吗 |
2 gesse 2022 年 10 月 24 日 现在国内的服务器是都不能用了吧 以前还可以通过 hosts 文件来用。 |
3 FanYD 2022 年 10 月 24 日 之前不用梯子也可以,现在用梯子才行。export http_proxy=http://127.0.0.1:8001;export https_proxy=http://127.0.0.1:8001; 会影响 git 内网代码拉取。 |
4 cmichael OP |
5 FanYD 2022 年 10 月 24 日 |
6 cmichael OP @FanYD 我这样弄的,不行: $ vim ~/.zshrc # proxy proxy () { export http_proxy="http://127.0.0.1:60879" export https_proxy=$http_proxy export socks5_proxy="socks5://127.0.0.1:60879" echo "HTTP Proxy on" } # noproxy noproxy () { unset http_proxy unset https_proxy echo "HTTP Proxy off" } $ source ~/.zshrc |
8 FanYD 2022 年 11 月 2 日 @cmichael 我是这样设置的 alias wpon='export http_proxy=http://127.0.0.1:8001;export https_proxy=http://127.0.0.1:8001;' alias wpoff='unset http_proxy;unset https_proxy;' |
9 cmichael OP |