I am using an HTTP proxy on MacOS 10.7 (which works for Safari.app, when set in the system preferences). I'm now trying to set the proxy for command-line applications using the
$http_proxy environment variable. However, I'm seeing the following error (proxy details replaced by uppercase variables
$ export http_proxy=PROXY:PORT $ wget http://www.google.com --2012-01-31 17:31:31-- http://www.google.com/ Resolving PROXY (PROXY)... PROXY_IP Connecting to PROXY (PROXY)|PROXY_IP|:PORT... failed: Connection refused.
Any ideas what I might be doing wrong? Thanks!