title: WebSocket connection to failed ERR_SSL_PROTOCOL_ERROR
body: <p>I have configured the Websocket on my live server and I'm using SSL on live server. When I used following code on my localhost, websockets were fine.</p>
  
  <pre><code>ws://localhost:8080/server.php
  </code></pre>
  
  <p>Once I moved the file to the live server I have changed the code to the following</p>
  
  <pre><code>wss://IP:PORT/server.php
  </code></pre>
  
  <p>I have created a seperate port for web socket and configured on firewall TCP IN and OUT. However, I'm receiving the following error on console</p>
  
  <blockquote>
    <p>WebSocket connection to ............ failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR</p>
  </blockquote>
  
  <p>Can anyone suggest me some solutions to overcome this issue</p>