Failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

CONNECTION_REFUSED is standard when the port is closed, but it could be rejected because SSL is failing authentication (one of a billion reasons). Did you configure SSL with Ratchet? (Apache is bypassed) Did you try without SSL in JavaScript? I don’t think Ratchet has built-in support for SSL. But even if it does you’ll want … Read more

php ratchet websocket SSL connect?

If you are using Apache web server (2.4 or above), enable these modules in httpd.conf file : mod_proxy.so mod_proxy_wstunnel.so Add this setting to your httpd.conf file ProxyPass /wss2/ ws://ratchet.mydomain.org:8888/ Use this URL in your JavaScript call when you want a WSS connection: var ws = new WebSocket(“wss://ratchet.mydomain.org/wss2/NNN”); Restart Apache web server and make sure that … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)