title: Connecting to Nodejs/Socket.IO server with SSL (https) when listening to custom port
body: <p>My socket.io server is running and listening to port 6060.</p>
  
  <p>Now, I added to my domain an SSL certificate in order to serve my website through https protocol.</p>
  
  <p>If i'm trying to access the nodejs/socket.io server through <a href="http://mydomain.com:6060" rel="nofollow">http://mydomain.com:6060</a> i'm getting the "Welcome to socket.io." message, but when i'm doing it with <a href="https://mydomain.com:6060" rel="nofollow">https://mydomain.com:6060</a> it's not work..</p>
  
  <p>Is it posible to connect to my socket.io server (listening to port 6060) with ssl?</p>
  
  <p>What are my options in such a case?</p>
  
  <p>Thanks</p>