Report this

What is the reason for this report?

How can I switch from ws to wss (secure websocket)

Posted on August 30, 2017

Hey, I am wondering how I can get wss (Secure websocket) instead of just basic ws. I am using node.js with the library “ws” and I don’t know what to do. Thanks!

Note: I have debian but can change to ubuntu just to get this to work



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.