so there were two solutions to my problem:
1. The more easy one just disable the SELinux
Open the /etc/selinux/config file and set the SELINUX mod to disabled
2. update the SELinux policy to allow HTTP scripts and modules to initiate a connection to a network or remote port.
setsebool -P httpd_can_network_connect on
1. The more easy one just disable the SELinux
Open the /etc/selinux/config file and set the SELINUX mod to disabled
2. update the SELinux policy to allow HTTP scripts and modules to initiate a connection to a network or remote port.
setsebool -P httpd_can_network_connect on