Stream_Socket_Client Unable to Connect (Connection Timed Out)

stream_socket_client unable to connect (connection timed out)

I had fixed the issue by opening the port 2195 on the production server. You can verify by following command $telnet gateway.push.apple.com 2195

-bash-3.2# telnet gateway.push.apple.com 2195

Trying 17.149.38.141...
Connected to gateway.push.apple.com (17.149.38.141).
Escape character is '^]'.
Connection closed by foreign host.

stream_socket_client time out

Try to check allow_url_fopen.

This option enables the URL-aware fopen wrappers that enable accessing URL object like files.

See: https://php.net/manual/en/filesystem.configuration.php



Related Topics



Leave a reply



Submit