How do I configure Node to accept both https and wss connections.

55 views
Skip to first unread message

Mook

unread,
Jan 15, 2015, 9:24:15 AM1/15/15
to nod...@googlegroups.com
I'm running an https enabled Node server (v0.10.35) that at present works as expected, i.e. when I browse to the URL I get the index page, which in turn opens a websocket (socket.io) to the server. I can then send and receive files and messages using this socket.

However, I now want my own software to connect to the server via wss. I have a C++ SSL enabled client that works on wss://echo.websocket.org, but it does not work on my Node server!

Can someone tell me how I need to configure my server to accepts wss connections from my application please, I am by no means a node expert so if possible detailed instructions would be appreciated.

--
Mook


Aria Stewart

unread,
Jan 15, 2015, 4:14:19 PM1/15/15
to nod...@googlegroups.com
Socket.io isn't just websockets -- that's one possible transport, on a deep URL.
Reply all
Reply to author
Forward
0 new messages