title: WebSockets TLS ERR_CONNECTION_RESET
body: <p>I have a WPF app running as a "Server" which sends data to the browser via WebSockets
  The "Server" sends this data over <code>http://localhost:8181</code> to my website succesfully.</p>
  
  <p>The problem is: I recently updated my website to be accessible over HTTPS but now all the websockets requests are blocked because it isn't secure. <code>ws://localhost:8181.</code></p>
  
  <p>I changed the server to send the data over TLS (<code>https://localhost:8443</code>) and my website to receive the sockets via wss://localhost:8443.</p>
  
  <p>But now I always get the following error:</p>
  
  <blockquote>
    <p>WebSocket connection to 'wss://localhost:8443/MyData/stream' failed: Error in connection establishment: net::ERR_CONNECTION_RESET</p>
  </blockquote>
  
  <p>Access-Control-Allow-Origin is set to * </p>
  
  <p>What am I doing wrong here?</p>