I am working on CentOS 6.4 and I am new to this operating system.
I was downloading a 5 GB file using wget
command. I observed that it was trying to download the file from different IP addresses (54.240.168.41), which was blocked by the proxy server. So I got this specific IP address opened by the network support and the download started working.
Since it was a huge file, I left it to complete the execution overnight. Next morning, due to some network error, the download stopped. only 42% was downloaded. I tried to download the file using -c
option of the wget
command. However, wget
keeps trying to connect to different IP addresses starting with 54.xxx.xxx.xxx
, except the IP address 54.240.168.41
.
My question is, how I would tell wget
to download from a specific IP addresses which is NOT blocked by the network?.
This is the command that I am executing
wget --continue http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.2.0/HDP-2.3.2.0-centos6-rpm.tar.gz