title: Server disconnected (code: 1006) error while running noVnc
body: <p>I have cloned the project <a href="https://github.com/kanaka/noVNC" rel="nofollow noreferrer">https://github.com/kanaka/noVNC</a> on my server(google compute engine). Now according to the readme file, i ran the script </p>
  
  <pre><code>bash launch.sh --vnc localhost:5900
  </code></pre>
  
  <p>this returned the </p>
  
  <pre><code>Navigate to this URL:
      http://instance_name:6080/vnc.html?host=instance_name&amp;port=6080
  </code></pre>
  
  <p>Now on my local system, I hit the URL </p>
  
  <pre><code>server_ip:6080/vnc.html
  </code></pre>
  
  <p>I entered the IP(googled my IP) of another system and port 5900. But it is showing server disconnected(code:1006). I didn't provided any password as I didn't gave any password to vnc server.<a href="https://i.stack.imgur.com/gmysp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gmysp.png" alt="enter image description here"></a> </p>
  
  <p>In console it is showing error</p>
  
  <pre><code>WebSocket connection to 'ws://192.168.1.236:5900/websockify' failed: Error during WebSocket handshake: Invalid status line
  </code></pre>
  
  <p>Am I missing something?</p>