#1
May 7th, 2016, 09:59 AM
| |||
| |||
Wget Connection Refused
While downloading using wget, I get the subsequent error “Connecting to <URL> failed: Connection refused and I use a proxy server. How do I fix it?
|
#2
May 7th, 2016, 10:00 AM
| |||
| |||
Re: Wget Connection Refused
Export the http_proxy variable with your intermediary server name or ip location and after that take a stab at downloading as clarified underneath. Association rejected mistake while utilizing wget In the event that http_proxy environment variable is not set, you may get the accompanying message while downloading records from Internet utilizing wget. wget -O DrawIt.vba.gz vim.org/scripts/download_script.php?src_id=8798 --12:58:32 vim.org/scripts/download_script.php?src_id=8798 => `DrawIt.vba.gz' Resolving vim.org... 216.34.181.97 Connecting to vim.org|216.34.181.97|:80... failed: Connection refused. Export HTTP_PROXY Variable Indicate your intermediary server name (or) ip-address (alongside any port number if fundamental) in the http_proxy variable as demonstrated as follows. $ trade http_proxy='proxy_server_ip:8080' Use colon ( : ) as delimiter between ip/host and port number. Taking after is a sample. $ send out http_proxy='http://myproxy.cmp.com:8080/" Presently, you ought to have the capacity to download utilizing wget with no issue. $ wget - O DrawIt.vba.gz http:// vim.org/scripts/download_script.php?src_id=8798 - 12:59:02- - http:// vim.org/scripts/download_script.php?src_id=8798 => `DrawIt.vba.gz' Determining proxy.sgp.hp.com... 16.158.235.10 Interfacing with proxy.sgp.hp.com|16.158.235.10|:8080... associated. Intermediary ask for sent, anticipating reaction... 200 OK Length: unspecified [application/octetstream] [ ] 21,668 - .- - K/s 12:59:04 (164.19 KB/s) - `DrawIt.vba.gz' spared [21668] |
|