title: Connecting to Windows Server with noVNC
body: <p>I'm trying to connect to Windows Server 2012 through a web browser using noVNC and TightVNC. I have TightVNC Service running on the server and I've tried to set up noVNC using <a href="https://github.com/kanaka/websockify/wiki/Compiling-Websockify-as-Windows-Executable" rel="nofollow">these</a> instructions. I installed using Portable Python 2.7.
  When I do <code>run.exe 6080 localhost:6080</code> I get this:</p>
  
  <pre><code>WARNING: no ‘resource’ module, daemonizing is disabled
  WebSocket server settings:
  - Listen on :6080
  - Flash security policy server
  - No SSL/TLS support (no cert file)
  - Proxying from :6080 to localhost:6080
  </code></pre>
  
  <p>I have the ports for TightVNC and noVNC open in Windows Firewall too.</p>
  
  <p>When I try noVNC in a web browser on my <strong>local machine</strong> with the following details I get Server disconnected (code: 1006)</p>
  
  <p><strong>Host:</strong> IP address of Windows Server</p>
  
  <p><strong>Port:</strong> 6080</p>
  
  <p><strong>Password:</strong> VNC Server Password</p>
  
  <p>When I try noVNC in a web browser on the <strong>server</strong> with the following details I get Server disconnected (code: 1006)</p>
  
  <p><strong>Host:</strong> localhost</p>
  
  <p><strong>Port:</strong> 6080</p>
  
  <p><strong>Password:</strong> VNC Server Password</p>
  
  <p>I get this error in the Windows Command Prompt too:</p>
  
  <pre><code>handler exception: Can't pickle &lt;type 'thread.lock'&gt;: it's not found as thread.lock
  WARNING: no 'resource' module, daemonizing is disabled
  Usage:
      run.exe [options] [source_addr:]source_port [target_addr:target_port]
      run.exe [options] [source_addr:]source_port -- WRAP_COMMAND_LINE
  run.exe: error: no such option: --multiprocessing-fork
  </code></pre>
  
  <p>Here is my Base64 Test:</p>
  
  <pre><code>onload
  ...
  FAIL: 'window.btoa(null)' returned 'bnVsbA==', expected ''
  ...
  Tests failed: 1
  Tests passed: 27
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>