Connection refused, by my server or remote server ?
Posted: Fri Sep 16, 2011 3:20 am
I'm trying to connect to a remote server with:
and I get the following error:
How do I know if my server is refusing the connection, or the remote server is refusing it ?
I've already contacted my server technical assistance and they told me the port 2195 is open.
thanks
Code: Select all
$fp = stream_socket_client('ssl://gateway.sandbox.push.apple.com:2195', $err, $errstr, 60, STREAM_CLIENT_CONNECT, $ctx);
Code: Select all
unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Connection refused) in ...handleRequest.php on line 437 - Failed to connect 111
I've already contacted my server technical assistance and they told me the port 2195 is open.
thanks