I have a windows nano server and try to set the proxy settings. The nano server is only in command mode no GUI. I have run in PowerShell
netsh winhttp set proxy proxy-server="ipadress:8080"
then I have
ping www.google.de
and the IP address from google was shown, so there is some connection. But when I try to run
wget www.google.de
I get
"Unable to connect to the remote server"
then I have set the proxy in the PowerShell environment with
set http_proxy="ipadress:8080" and https_proxy...
but the same problem. When I call wget directly with the proxy settings it works:
wget 'http://www.google.de' -Proxy http://ipadress:8080
How can I get it work that wget uses the global proxy settings? Or are the settings not correctly set? Or need I to install some windows features, that it is working?
I use wget to test the connection later any web request for any program should work.