php - SQLSTATE[08006] [7] could not connect to server -


my php code 1 server , database different one. in server connect 300-500 computer show error on connection error:

sqlstate[08006] [7] not connect server : cannot assign requested address server running on host "localhost" , accepting tcp/ip connections on port 5435

if unix run root this:

setsebool -p httpd_can_network_connect on


Comments