Ok, i figured out the issue , Did some google on it and found this useful link on usage of proxy. http://www.cyberciti.biz/faq/linux-unix-set-proxy-environment-variable/