Probably your hosting provider blocks outgoing connections.
Use EPESI Shell
http:// <your epesi address> /admin/?module=EpesiShell
Edit file mentioned in the description to enable tool.
then execute
return file_get_contents('http://google.com');
You should receive html of google web page.