In cpanel I am trying to setup cronjob command as follows
wget http://ec2-xx-xx-xxx-x.compute-1.amazonaws.com:8000/data.csv -o public_html/data.csv
But I am getting following error
Connecting to ec2-xx-xx-xxx-x.compute-1.amazonaws.com (ec2-xx-xx-xxx-x.compute-1.amazonaws.com)|xx.xx.xx.x|:8000... failed: Connection refused.
When I access that aws url using curl or wget on my local computer it works fine without any problem and fetches required files but in cpanel it is not working .
wget http://ec2-xx-xx-xxx-x.compute-1.amazonaws.com:8000/data.csv -o public_html/data.csv
But I am getting following error
Connecting to ec2-xx-xx-xxx-x.compute-1.amazonaws.com (ec2-xx-xx-xxx-x.compute-1.amazonaws.com)|xx.xx.xx.x|:8000... failed: Connection refused.
When I access that aws url using curl or wget on my local computer it works fine without any problem and fetches required files but in cpanel it is not working .