The following error was encountered while trying to retrieve the URL: http://ipinfo.io/ip
Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
Your cache administrator is webmaster.
I have tried to execute the script on an Ubuntu 12.4 VPS and setting the environment variable "http_proxy" causes all connections to be blocked. I have opened all ports in use looking at netstat -ntlup but still, even when trying to ping a website, it reports:
How to fix it? Thanks
P.S. Around the end of the script there is a " missing in an echo statement