如果你用的不是Clash for window, 你应该更改代理的端口号, 一般代理软件会给出这些信息, 替换掉他们 比如你的代理软件在2333端口那么第四步中的脚本的那一行就应该改一下 alias setss='export https_proxy="http://${hostip}:2333";export http_proxy="http://${hostip}:2333";export all_proxy="socks...
Sorry I am late. In windows WSL2, instead ofhttp_proxy, you should useHTTP_PROXYinstead. eg: functionproxy{exporthttp_proxy=socks5://172.19.48.1:7890;exporthttps_proxy=socks5://172.19.48.1:7890;exportall_proxy=socks5://172.19.48.1:7890;exportHTTP_PROXY=socks5://172.19.48.1:7890;exportHTT...
我尝试通过连接ubuntu中的端口来使用它 export http_proxy="socks5://127.0.0.1:10808" export https_proxy="socks5://127.0.0.1:10808" 但是我得到了 Failed to connect to 127.0.0.1 port 10808 after 0 ms: Connection refused。 我该怎么做?ubuntu windows-subsystem-for-linux v2ray 1个回答 0投票 ...
I would like to use a proxy on windows such as burp or ZAP while running an application in WSL with python requests. I'm running into a bunch of errors right now: Failed to establish a new connection: [Errno 111] Connection refused Using python requests with the windows proxy would work...
Connecting to www.google.com (www.google.com)|216.239.32.10|:443... [proxychains] Strict chain ... 172.23.0.1:1080 ... timeout failed: Connection refused. I am pretty sure the proxy client is working as I can access the web by using 127.0.0.1:1080 in windows.Collaborator...
curl: (7) Failed to connect to 127.*** port 1080: Connection refused 在网上查了很多不靠谱答案,配置文件位置也不确定。 ping了一下地址发现可以ping通, 感觉这个应该是代理导致的, 于是在curl后面加上了不使用代理: curl your_ip --noproxy"*" 成功...
在Win10中以管理员身份打开CMD或Powershell,输入以下命令 > wsl--shutdown> netsh winsock reset > netsh int ip reset all > netsh winhttp reset proxy > ipconfig /flushdns 最后在Windows Search > Network Reset中重置下网络即可。 本机测试有效。
export GOPROXY=http://goproxy.cn export GOSUMDB=goproxy.cn export PATH=$GOPATH/bin:$GOROOT/bin:$PATH 1. 2. 3. 4. 5. 这是我的配置,大家的路径要写自己的路径啦 写完保存,执行 source /etc/profile 1. 这时候go应该就安装好了,大家可以测试一下 ...
随着Win10 2004版本的发布,WSL2的时代也正式到来。使用过WSL的用户,都遇到过一些很不爽的问题,例如...
export GOSUMDB=goproxy.cn export PATH=$GOPATH/bin:$GOROOT/bin:$PATH 这是我的配置,大家的路径要写自己的路径啦 写完保存,执行 source /etc/profile 这时候go应该就安装好了,大家可以测试一下 goversion 能出来go版本就是ok了 docker 上Docker Desktop官网下载安装包 ...