Unable to set static proxy in WSL2 #5763
Replies: 3 comments 1 reply
-
Ping and an http proxy are not the same. If you can't ping What does |
Beta Was this translation helpful? Give feedback.
-
i just used a valid static proxy. which i tested in different device and the proxy was working.
This is one of the approach. i tried to solve this error. An every time i tried ping and got the same result. |
Beta Was this translation helpful? Give feedback.
-
An http proxy will not get you ping (a ICMP request is not a HTTP request). Moving to discussion. |
Beta Was this translation helpful? Give feedback.
-
Environment
Steps to reproduce
Try to connect the windows system with any network. In which internet is served throught static proxy.
Then try to set a static proxy by
Acquire::http::Proxy "http://proxy.foo.com:8080";
in /etc/apt/apt.conf WebsiteWSL logs: Do you want log.
Expected behavior
Proxy should work fine in WSL2 as in Windows.
Actual behavior
Proxy doesn't work.
Pingging a DNS should work!
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. ^C --- 8.8.8.8 ping statistics --- 11 packets transmitted, 0 received, 100% packet loss, time 10396ms
Beta Was this translation helpful? Give feedback.
All reactions