I am facing a weird problem here we have a server A where the app files are stored and B server with database
Tried to connect via command prompt from server A to B
I got it working by running a command in the database server :)
setsebool httpd_can_network_connect_db=1
thanks for the replies yycdev