2023 2024 EduVark > Education Discussion > General Discussion


  #1  
May 7th, 2016, 09:59 AM
Unregistered
Guest User
 
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?
Similar Threads
Thread
WGET Download Manager
BPCL LPG New Connection
UPPCL New Connection
KWH Meter Connection
New LPG Connection BPCL
BPCL Gas New Connection
GAIL PNG Connection
Mac WGET mountain lion
WGET MAC Tutorial
Get Public IP WGET
WGET multiple URLS
WGET Nvidia driver Ubuntu
WGET in MAC
MAC WGET Brew
Wget O Dev Null

  #2  
May 7th, 2016, 10:00 AM
Super Moderator
 
Join Date: Mar 2012
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]


Quick Reply
Your Username: Click here to log in

Message:
Options



All times are GMT +5. The time now is 04:54 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.6.0

1 2 3 4 5 6 7 8