SyntaxFix
Write A Post
Hire A Developer
Questions
If you're using selinux it might be because of security restrictions. Try setting this as root:
# setsebool -P httpd_can_network_connect on