title: NodeJS Websocket client stay in pending mode
body: <p>i have a simple js script that "try" to connect to listening server (SocketTest) as shown in the image below. It's really simple, just one line :</p>
  
  <pre><code>var exampleSocket = new WebSocket('ws://127.0.0.1:6601');
  </code></pre>
  
  <p>So, yes, it is connected but it stay in pending mode finishing by "failed: WebSocket opening handshake timed out"</p>
  
  <p>Maybe i'm wrong somewhere but i don't see it... and it's really simple.
  If someone got an idea....</p>
  
  <p><a href="https://i.stack.imgur.com/xx3L8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xx3L8.png" alt="enter image description here"></a></p>
  
  <p>Thanks in advance.</p>