i could connect to my websocket php server on client side js file like this:
websocket = new WebSocket("ws://mysite.com:9091");
but now we bought ssl for our server , so url start with Https instead of Http Now we can't connect to ws:// so i changed it to wss:// but still can't connect to server
failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR